Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001419, allocations: 177.5 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.895/1.895, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009107/0.0009108, allocations: 90.3 kB / 270.9 MB, free: 8.359 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.3603/0.3603, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002072/0.1181, allocations: 1.401 MB / 491.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1193, allocations: 0.7383 MB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.1194, allocations: 3.938 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1197, allocations: 55.86 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1199, allocations: 51.81 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1201, allocations: 71.84 kB / 492.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1203, allocations: 79.7 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.1204, allocations: 20.19 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.1205, allocations: 43.78 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.1205, allocations: 35.84 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1206, allocations: 0 / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.1207, allocations: 36 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.1207, allocations: 31.83 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.1208, allocations: 41.64 kB / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1209, allocations: 96.09 kB / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.121, allocations: 0 / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.121, allocations: 0 / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.121, allocations: 0 / 492.9 MB, free: 8.5 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.0005558/0.1215, allocations: 434.6 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1216, allocations: 12.02 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1216, allocations: 15.81 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1219, allocations: 198.9 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1219, allocations: 8 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1219, allocations: 0 / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1221, allocations: 57.61 kB / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1221, allocations: 7.906 kB / 493.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1221, allocations: 4 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1221, allocations: 3.953 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.1222, allocations: 19.92 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1226, allocations: 296.9 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1228, allocations: 50.69 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.1228, allocations: 24.84 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1229, allocations: 0 / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1231, allocations: 75.28 kB / 494.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1231, allocations: 0 / 494.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.1236, allocations: 185 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1237, allocations: 51.41 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1239, allocations: 262.5 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1239, allocations: 25.7 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.124, allocations: 116 kB / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.124, allocations: 19.8 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.1241, allocations: 4 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1242, allocations: 326.8 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.1243, allocations: 23.92 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.1243, allocations: 37.7 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.1244, allocations: 24 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1244, allocations: 0 / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1246, allocations: 113.4 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1246, allocations: 8 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1246, allocations: 0 / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1247, allocations: 0 / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.1247, allocations: 12 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1248, allocations: 7.938 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1248, allocations: 8.016 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1248, allocations: 4 kB / 495.3 MB, free: 5.883 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 0.000108/0.1249, allocations: 133.8 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.125, allocations: 15.77 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.125, allocations: 21.41 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.125, allocations: 4 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.125, allocations: 0 / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1251, allocations: 7.922 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.1255, allocations: 411.1 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1255, allocations: 0 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1256, allocations: 11.98 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1256, allocations: 0 / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.1256, allocations: 4 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1256, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1256, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1258, allocations: 208.2 kB / 496.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1259, allocations: 100.9 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1259, allocations: 4 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.126, allocations: 0 / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1261, allocations: 7.984 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1261, allocations: 8 kB / 496.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1263, allocations: 200 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1263, allocations: 0 / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.1265, allocations: 27.98 kB / 496.5 MB, free: 4.633 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.0009219/0.1274, allocations: 476.7 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1276, allocations: 55.92 kB / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1276, allocations: 0 / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.1277, allocations: 31.92 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.128, allocations: 23.97 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1286, allocations: 340.6 kB / 497.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1289, allocations: 0.7199 MB / 498.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.1289, allocations: 15.44 kB / 498.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1289, allocations: 0 / 498.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of Templates: time 0.003504/0.1324, allocations: 2.027 MB / 0.4884 GB, free: 0.9531 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches