Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 187 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008937/0.0008936, allocations: 95.23 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3283/0.3283, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000981/0.0009811, allocations: 56.11 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.112, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003802/0.1159, allocations: 1.756 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1172, allocations: 0.7923 MB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.1173, allocations: 0 / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1176, allocations: 43.81 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1178, allocations: 43.84 kB / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1181, allocations: 83.83 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1182, allocations: 91.7 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1183, allocations: 12.22 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.1184, allocations: 35.8 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1185, allocations: 35.83 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1185, allocations: 0 / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.1186, allocations: 39.98 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.1187, allocations: 23.86 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.1188, allocations: 43.72 kB / 490 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.119, allocations: 111.9 kB / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.119, allocations: 0 / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.119, allocations: 0 / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.119, allocations: 0 / 490.1 MB, free: 9.418 MB / 378.7 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.0005478/0.1195, allocations: 407 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1196, allocations: 8.031 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1196, allocations: 12.84 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1199, allocations: 208 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1199, allocations: 12.31 kB / 490.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1199, allocations: 4.125 kB / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1201, allocations: 53.67 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1201, allocations: 0 / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1201, allocations: 4 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1201, allocations: 0 / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.1202, allocations: 15.98 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1206, allocations: 292.8 kB / 491.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1207, allocations: 62.61 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1208, allocations: 16.86 kB / 491.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1208, allocations: 3.938 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1211, allocations: 67.3 kB / 491.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1211, allocations: 8 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000513/0.1216, allocations: 173.3 kB / 491.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1216, allocations: 51.41 kB / 491.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1218, allocations: 182.1 kB / 491.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1218, allocations: 33.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1219, allocations: 104.1 kB / 491.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1219, allocations: 19.72 kB / 491.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.122, allocations: 21.7 kB / 491.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1221, allocations: 334.8 kB / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.1222, allocations: 19.94 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.1222, allocations: 33.7 kB / 492.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1224, allocations: 61.7 kB / 492.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1224, allocations: 0 / 492.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001631/0.1225, allocations: 97.55 kB / 492.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1226, allocations: 12 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1226, allocations: 3.984 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1226, allocations: 384 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1227, allocations: 12 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1227, allocations: 4 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1227, allocations: 11.94 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1228, allocations: 11.92 kB / 492.4 MB, free: 6.863 MB / 378.7 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 8.544e-05/0.1229, allocations: 117.8 kB / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1229, allocations: 15.91 kB / 492.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1229, allocations: 20.7 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1229, allocations: 0 / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1229, allocations: 0 / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.123, allocations: 3.938 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1234, allocations: 391.4 kB / 493 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1234, allocations: 0 / 493 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1234, allocations: 8 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1234, allocations: 4.031 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1234, allocations: 15.86 kB / 493 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1234, allocations: 4.078 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1234, allocations: 3.984 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.1239, allocations: 0.7717 MB / 493.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.124, allocations: 89.02 kB / 493.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.124, allocations: 15.92 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.1241, allocations: 0 / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1241, allocations: 11.92 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1242, allocations: 4 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1243, allocations: 148 kB / 494 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 0 / 494 MB, free: 5.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000352/0.1246, allocations: 23.91 kB / 494.1 MB, free: 5.09 MB / 378.7 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.0009271/0.1256, allocations: 468.7 kB / 494.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1257, allocations: 67.84 kB / 494.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1258, allocations: 0 / 494.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.1258, allocations: 31.98 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1262, allocations: 24.59 kB / 494.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.1266, allocations: 371.9 kB / 495 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1269, allocations: 0.7121 MB / 495.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.127, allocations: 21.17 kB / 495.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.127, allocations: 15.44 kB / 495.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.127, allocations: 0 / 495.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of Templates: time 0.003705/0.1307, allocations: 1.665 MB / 497.4 MB, free: 1.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches