Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009902/0.0009903, allocations: 95.09 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 203 kB / 18.93 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1999/0.1999, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 63.56 MB / 483.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002029/0.1091, allocations: 1.435 MB / 485.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1107, allocations: 0.9941 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.1108, allocations: 4 kB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.1111, allocations: 39.83 kB / 486.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1113, allocations: 71.75 kB / 486.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1116, allocations: 63.88 kB / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1117, allocations: 103.6 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.1118, allocations: 11.98 kB / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.1119, allocations: 39.8 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.112, allocations: 31.78 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.112, allocations: 4 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1121, allocations: 39.98 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.1122, allocations: 27.86 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.1123, allocations: 65.42 kB / 486.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1124, allocations: 84.11 kB / 486.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1124, allocations: 4 kB / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1124, allocations: 0 / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1125, allocations: 0 / 486.7 MB, free: 1.102 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000484/0.113, allocations: 403 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.113, allocations: 8.875 kB / 487.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.113, allocations: 12.84 kB / 487.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1133, allocations: 212.7 kB / 487.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1133, allocations: 384 / 487.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1133, allocations: 20.06 kB / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1135, allocations: 49.67 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1135, allocations: 0 / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1135, allocations: 7.938 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1135, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.1136, allocations: 19.98 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.114, allocations: 285 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1141, allocations: 66.61 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1142, allocations: 16.86 kB / 487.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1142, allocations: 7.984 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1144, allocations: 67.38 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.1144, allocations: 3.984 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005052/0.1149, allocations: 169.2 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.115, allocations: 59.39 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1151, allocations: 190.9 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1152, allocations: 25.7 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1152, allocations: 104.1 kB / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1153, allocations: 23.7 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1153, allocations: 13.72 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1154, allocations: 326.8 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1155, allocations: 31.92 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.1155, allocations: 33.7 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1157, allocations: 57.7 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1157, allocations: 0 / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.1159, allocations: 105.4 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1159, allocations: 4 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1159, allocations: 8.031 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1159, allocations: 0 / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.116, allocations: 15.98 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.116, allocations: 0 / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1161, allocations: 4 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1161, allocations: 11.94 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.806e-05/0.1162, allocations: 128.6 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1162, allocations: 11.91 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.1163, allocations: 21.5 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1163, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1163, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1163, allocations: 3.984 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1167, allocations: 403.5 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1167, allocations: 192 / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1168, allocations: 16 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1168, allocations: 3.938 kB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1168, allocations: 15.95 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1168, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1168, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.117, allocations: 196.2 kB / 489.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.1171, allocations: 92.92 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1171, allocations: 11.92 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1172, allocations: 0 / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1173, allocations: 12 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1173, allocations: 7.984 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1174, allocations: 148.8 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1174, allocations: 0 / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1177, allocations: 27.98 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009953/0.1187, allocations: 457 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1189, allocations: 63.91 kB / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1189, allocations: 0 / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.1189, allocations: 23.94 kB / 490.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1193, allocations: 31.91 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1197, allocations: 280 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.12, allocations: 0.7083 MB / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.12, allocations: 19.42 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1201, allocations: 0 / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.003726/0.1238, allocations: 1.927 MB / 493.6 MB, free: 9.977 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches