Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001663, allocations: 181.4 kB / 16.4 MB, free: 5.746 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.191/2.191, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001177/0.001177, allocations: 89.25 kB / 270.9 MB, free: 8.352 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.5946/0.5946, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006679/0.0006682, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1326, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002546/0.1352, allocations: 1.386 MB / 491.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1369, allocations: 0.7383 MB / 492.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.137, allocations: 7.938 kB / 492.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.1373, allocations: 31.83 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1375, allocations: 43.88 kB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1379, allocations: 75.78 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1381, allocations: 63.86 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1382, allocations: 8.219 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1383, allocations: 39.84 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.1384, allocations: 27.84 kB / 492.6 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1384, allocations: 4 kB / 492.6 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1386, allocations: 27.92 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1386, allocations: 19.92 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.1387, allocations: 37.64 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1389, allocations: 92.08 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1389, allocations: 0 / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1389, allocations: 0 / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.1389, allocations: 0 / 492.8 MB, free: 8.586 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.0006148/0.1396, allocations: 414.8 kB / 493.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1396, allocations: 12.02 kB / 493.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1397, allocations: 7.906 kB / 493.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.14, allocations: 199.6 kB / 493.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.14, allocations: 4 kB / 493.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1401, allocations: 4 kB / 493.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1402, allocations: 53.61 kB / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1403, allocations: 3.906 kB / 493.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1403, allocations: 4 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1403, allocations: 11.95 kB / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1404, allocations: 15.98 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1409, allocations: 284.9 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1411, allocations: 58.61 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1412, allocations: 4 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1414, allocations: 71.47 kB / 493.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.1414, allocations: 0 / 493.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007565/0.1422, allocations: 169.4 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.1423, allocations: 51.41 kB / 494.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1425, allocations: 200.7 kB / 494.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1426, allocations: 29.7 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.1427, allocations: 162.6 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1427, allocations: 23.7 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.1428, allocations: 4 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1429, allocations: 318.8 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.143, allocations: 19.98 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1431, allocations: 41.64 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1432, allocations: 23.98 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1432, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002752/0.1435, allocations: 97.77 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1436, allocations: 11.95 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1436, allocations: 3.938 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1436, allocations: 7.938 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1438, allocations: 12 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1438, allocations: 4 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.1439, allocations: 3.984 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1439, allocations: 4 kB / 495.1 MB, free: 6.078 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.0001374/0.1441, allocations: 125.9 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1441, allocations: 15.89 kB / 495.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.1442, allocations: 17.36 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1442, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1442, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1442, allocations: 7.984 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.1449, allocations: 391.3 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1449, allocations: 4.031 kB / 495.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.145, allocations: 15.92 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.145, allocations: 4 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.145, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.145, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.145, allocations: 0 / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1454, allocations: 222.1 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.1455, allocations: 93 kB / 496 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.1455, allocations: 4 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1456, allocations: 0 / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1457, allocations: 7.984 kB / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1457, allocations: 8 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1459, allocations: 152.9 kB / 496.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1459, allocations: 3.938 kB / 496.1 MB, free: 4.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.1463, allocations: 20 kB / 496.2 MB, free: 4.895 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.001359/0.1477, allocations: 479.5 kB / 496.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.148, allocations: 47.98 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.148, allocations: 8 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1481, allocations: 27.98 kB / 496.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1485, allocations: 23.94 kB / 496.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.1492, allocations: 284.1 kB / 497 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1495, allocations: 0.7159 MB / 497.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1496, allocations: 15.44 kB / 497.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1496, allocations: 0 / 497.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of Templates: time 0.005485/0.1551, allocations: 1.91 MB / 499.7 MB, free: 1.387 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches