Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008869/0.0008868, allocations: 174.5 kB / 16.72 MB, free: 5.082 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.238/1.238, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008176/0.0008177, allocations: 86.39 kB / 271.2 MB, free: 8.25 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.3195/0.3195, allocations: 43.55 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003651, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002443/0.1087, allocations: 1.526 MB / 492.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1101, allocations: 0.8396 MB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1103, allocations: 3.938 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.1108, allocations: 235.5 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1112, allocations: 171.5 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.1116, allocations: 127.8 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1119, allocations: 207.4 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.112, allocations: 25.52 kB / 494 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1122, allocations: 107.6 kB / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1124, allocations: 151.5 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1124, allocations: 8 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1126, allocations: 43.97 kB / 494.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.1126, allocations: 55.77 kB / 494.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1128, allocations: 105.1 kB / 494.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.113, allocations: 163.9 kB / 494.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.113, allocations: 0 / 494.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.113, allocations: 0 / 494.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.113, allocations: 0 / 494.6 MB, free: 7.105 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006911/0.1137, allocations: 0.5215 MB / 495.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1138, allocations: 8.031 kB / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.1138, allocations: 32.56 kB / 495.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1141, allocations: 280.1 kB / 495.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1142, allocations: 8.312 kB / 495.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1142, allocations: 12.03 kB / 495.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1144, allocations: 99.3 kB / 495.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1144, allocations: 3.984 kB / 495.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1144, allocations: 4 kB / 495.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1144, allocations: 4 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1146, allocations: 39.91 kB / 495.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.1151, allocations: 456.9 kB / 496 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1153, allocations: 113.4 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.1154, allocations: 41.64 kB / 496.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1155, allocations: 4 kB / 496.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1157, allocations: 113.1 kB / 496.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1157, allocations: 0 / 496.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008389/0.1165, allocations: 379.6 kB / 496.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1166, allocations: 85.05 kB / 496.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.1171, allocations: 481.6 kB / 497.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1171, allocations: 29.7 kB / 497.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1172, allocations: 160.4 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1172, allocations: 47.36 kB / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1173, allocations: 0 / 497.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1174, allocations: 350.8 kB / 497.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.1175, allocations: 39.92 kB / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1176, allocations: 79.33 kB / 497.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.1178, allocations: 111.4 kB / 498 MB, free: 3.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1178, allocations: 3.984 kB / 498 MB, free: 3.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003074/0.1181, allocations: 185.3 kB / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1182, allocations: 8 kB / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1182, allocations: 0 / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1182, allocations: 8.047 kB / 498.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1183, allocations: 31.98 kB / 498.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1183, allocations: 7.875 kB / 498.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.1184, allocations: 12 kB / 498.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1184, allocations: 4 kB / 498.3 MB, free: 3.129 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1186, allocations: 169.8 kB / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1186, allocations: 35.61 kB / 498.5 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.1187, allocations: 38.81 kB / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1187, allocations: 8 kB / 498.5 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1187, allocations: 3.938 kB / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1187, allocations: 0 / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.1194, allocations: 0.628 MB / 499.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1194, allocations: 0 / 499.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.1195, allocations: 23.98 kB / 499.2 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1195, allocations: 4 kB / 499.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1195, allocations: 8 kB / 499.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1195, allocations: 4 kB / 499.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1196, allocations: 0 / 499.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1199, allocations: 364.1 kB / 499.5 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.12, allocations: 109.5 kB / 499.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.12, allocations: 11.88 kB / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1202, allocations: 11.98 kB / 499.7 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1202, allocations: 15.97 kB / 499.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1202, allocations: 12 kB / 499.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003239/0.1206, allocations: 355.1 kB / 0.4883 GB, free: 1.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1206, allocations: 0 / 0.4883 GB, free: 1.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.1209, allocations: 43.98 kB / 0.4884 GB, free: 1.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/0.1218, allocations: 470 kB / 0.4888 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.122, allocations: 119.8 kB / 0.4889 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.122, allocations: 0 / 0.4889 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1222, allocations: 64.38 kB / 0.489 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.1227, allocations: 57.42 kB / 0.489 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1686/0.2912, allocations: 0.5881 MB / 0.4896 GB, free: 43.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2916, allocations: 0.7794 MB / 0.4904 GB, free: 42.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.2917, allocations: 25.83 kB / 0.4904 GB, free: 42.3 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2917, allocations: 0 / 0.4904 GB, free: 42.3 MB / 378.7 MB Notification: Performance of Templates: time 0.006873/0.2986, allocations: 3.328 MB / 0.4937 GB, free: 42.11 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches