Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001661, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001141/0.001141, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 58.85 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002851/0.1195, allocations: 1.461 MB / 491.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.1226, allocations: 1.367 MB / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1228, allocations: 0 / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1231, allocations: 47.75 kB / 493.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1235, allocations: 71.78 kB / 493.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.1242, allocations: 127.6 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1246, allocations: 115.8 kB / 493.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.1247, allocations: 9.562 kB / 493.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1248, allocations: 75.62 kB / 493.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1251, allocations: 47.77 kB / 493.5 MB, free: 6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.1251, allocations: 4 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.1253, allocations: 47.91 kB / 493.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.1254, allocations: 23.91 kB / 493.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.1255, allocations: 49.58 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1258, allocations: 128 kB / 493.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1258, allocations: 4 kB / 493.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1258, allocations: 0 / 493.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1259, allocations: 0 / 493.8 MB, free: 5.742 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008496/0.1267, allocations: 442.7 kB / 494.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1268, allocations: 16.02 kB / 494.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.1269, allocations: 15.77 kB / 494.2 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1273, allocations: 238.5 kB / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1274, allocations: 7.984 kB / 494.5 MB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1274, allocations: 7.938 kB / 494.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.1277, allocations: 97.08 kB / 494.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1277, allocations: 0 / 494.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1278, allocations: 7.984 kB / 494.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1278, allocations: 0 / 494.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.128, allocations: 31.88 kB / 494.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1283, allocations: 222.4 kB / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.1287, allocations: 105.2 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1288, allocations: 8.078 kB / 495 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.1292, allocations: 113 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.397e-06/0.1292, allocations: 3.938 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007074/0.1299, allocations: 161.8 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.13, allocations: 132.5 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.1304, allocations: 211.8 kB / 495.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1305, allocations: 33.7 kB / 495.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1306, allocations: 170.5 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.1307, allocations: 31.69 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1307, allocations: 0 / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1308, allocations: 318.8 kB / 496.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.131, allocations: 27.98 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1312, allocations: 69.14 kB / 496.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1314, allocations: 31.98 kB / 496.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.1314, allocations: 0 / 496.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000439/0.1319, allocations: 125.5 kB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.1319, allocations: 4 kB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1319, allocations: 4.094 kB / 496.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.132, allocations: 4 kB / 496.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.1322, allocations: 19.98 kB / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1322, allocations: 4 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1324, allocations: 15.92 kB / 496.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1324, allocations: 7.953 kB / 496.4 MB, free: 2.82 MB / 330.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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001721/0.1326, allocations: 129.8 kB / 496.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.1326, allocations: 15.81 kB / 496.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.1327, allocations: 24.98 kB / 496.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1327, allocations: 4 kB / 496.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1328, allocations: 0 / 496.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1328, allocations: 3.938 kB / 496.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.133, allocations: 221.4 kB / 496.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1331, allocations: 0 / 496.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.1331, allocations: 8 kB / 496.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1331, allocations: 0 / 496.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1332, allocations: 4 kB / 496.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1332, allocations: 256 / 496.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.589e-06/0.1332, allocations: 11.92 kB / 496.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1337, allocations: 179.4 kB / 497 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.1338, allocations: 104.8 kB / 497.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.1339, allocations: 96 / 497.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.134, allocations: 15.86 kB / 497.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.1341, allocations: 12 kB / 497.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1341, allocations: 7.984 kB / 497.1 MB, free: 1.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.1344, allocations: 161.5 kB / 497.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1344, allocations: 0 / 497.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.1348, allocations: 43.94 kB / 497.3 MB, free: 1.789 MB / 330.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001378/0.1362, allocations: 456.5 kB / 497.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.1367, allocations: 79.91 kB / 497.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1367, allocations: 0 / 497.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1369, allocations: 43.91 kB / 497.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.1374, allocations: 43.58 kB / 497.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.1382, allocations: 300.9 kB / 498.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1386, allocations: 0.7321 MB / 499 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1387, allocations: 23.42 kB / 499 MB, free: 128 kB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1387, allocations: 0 / 499 MB, free: 128 kB / 330.7 MB Notification: Performance of Templates: time 0.008065/0.1468, allocations: 2.707 MB / 0.4899 GB, free: 13.42 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches