Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.867/1.867, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001447/0.001447, allocations: 99.73 kB / 270.9 MB, free: 8.355 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.6274/0.6274, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001869/0.118, allocations: 1.405 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1191, allocations: 0.7306 MB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.1191, allocations: 3.938 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1194, allocations: 27.91 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1196, allocations: 47.83 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.1198, allocations: 71.84 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1199, allocations: 87.69 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.12, allocations: 8.219 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.1201, allocations: 39.73 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.1202, allocations: 35.83 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1202, allocations: 0 / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.1203, allocations: 32 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1203, allocations: 27.84 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.1204, allocations: 41.64 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1205, allocations: 80.11 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1205, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1205, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1206, allocations: 0 / 492.9 MB, free: 8.566 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.0004772/0.121, allocations: 394.9 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1211, allocations: 12.02 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1211, allocations: 15.81 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1213, allocations: 194.9 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1214, allocations: 11.98 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1214, allocations: 0 / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1215, allocations: 61.55 kB / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1216, allocations: 0 / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1216, allocations: 0 / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1216, allocations: 11.94 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.1217, allocations: 15.98 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.122, allocations: 284.9 kB / 493.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1222, allocations: 58.62 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.1223, allocations: 20.84 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1223, allocations: 0 / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.1225, allocations: 71.34 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1225, allocations: 4 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005161/0.123, allocations: 173.4 kB / 494.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.123, allocations: 55.41 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1232, allocations: 166.2 kB / 494.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1232, allocations: 29.7 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1233, allocations: 100.1 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1233, allocations: 31.62 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.1233, allocations: 0 / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1235, allocations: 322.8 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.1235, allocations: 20 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.1236, allocations: 45.58 kB / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.1236, allocations: 20 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1237, allocations: 0 / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.1238, allocations: 101.5 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1239, allocations: 8.031 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1239, allocations: 3.938 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1239, allocations: 4 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.124, allocations: 15.98 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.124, allocations: 0 / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.124, allocations: 4 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1241, allocations: 160 / 495.1 MB, free: 6.125 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.1242, allocations: 129.6 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1242, allocations: 19.77 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.1242, allocations: 20.7 kB / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1242, allocations: 0 / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1243, allocations: 0 / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1243, allocations: 3.938 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.1247, allocations: 391.3 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1247, allocations: 4 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1248, allocations: 15.92 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1248, allocations: 0 / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1248, allocations: 4.031 kB / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1248, allocations: 0 / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1248, allocations: 4 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1251, allocations: 192.3 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.1252, allocations: 96.86 kB / 495.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1252, allocations: 4 kB / 495.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1253, allocations: 8 kB / 495.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.1253, allocations: 7.984 kB / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1254, allocations: 4 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1255, allocations: 131.9 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1255, allocations: 3.938 kB / 496.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.1258, allocations: 27.98 kB / 496.1 MB, free: 4.98 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 (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.001136/0.1269, allocations: 464.6 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1271, allocations: 51.97 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1271, allocations: 3.938 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.1272, allocations: 27.98 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1276, allocations: 36.09 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1281, allocations: 255.7 kB / 496.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1284, allocations: 0.712 MB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1285, allocations: 15.44 kB / 497.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1285, allocations: 0 / 497.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of Templates: time 0.003777/0.1323, allocations: 1.843 MB / 499.5 MB, free: 1.57 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches