Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002417, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.204/2.204, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001147/0.001147, allocations: 82.98 kB / 270.9 MB, free: 8.367 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.5207/0.5207, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 19.98 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002948/0.1392, allocations: 1.468 MB / 491.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1414, allocations: 0.8084 MB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1416, allocations: 0 / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.1423, allocations: 287.4 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.1429, allocations: 195.5 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.1435, allocations: 127.7 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.1439, allocations: 163.7 kB / 493.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.144, allocations: 13.55 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.1443, allocations: 111.6 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1446, allocations: 143.6 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.1446, allocations: 4 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1448, allocations: 35.97 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.145, allocations: 127.6 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1451, allocations: 77.45 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1456, allocations: 279.7 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1456, allocations: 0 / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1456, allocations: 0 / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1457, allocations: 4 kB / 494 MB, free: 7.383 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001299/0.147, allocations: 0.6765 MB / 494.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.147, allocations: 16.02 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1472, allocations: 47.34 kB / 494.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.1481, allocations: 423.1 kB / 495.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1481, allocations: 0 / 495.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1481, allocations: 4 kB / 495.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1484, allocations: 91.3 kB / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1485, allocations: 0 / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1485, allocations: 0 / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1485, allocations: 7.938 kB / 495.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1487, allocations: 35.91 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.1493, allocations: 378.3 kB / 495.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1498, allocations: 109.3 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1498, allocations: 0 / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.1502, allocations: 113 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.1502, allocations: 0 / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008118/0.151, allocations: 193 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.1511, allocations: 85.06 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.153, allocations: 1.038 MB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.153, allocations: 25.7 kB / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1533, allocations: 250.5 kB / 497.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.1534, allocations: 35.64 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.1534, allocations: 4 kB / 497.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1536, allocations: 310.8 kB / 497.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1537, allocations: 27.98 kB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1539, allocations: 55.41 kB / 497.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1541, allocations: 39.98 kB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1541, allocations: 0 / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000442/0.1545, allocations: 122.1 kB / 498.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1546, allocations: 4 kB / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1546, allocations: 4 kB / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1546, allocations: 0 / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1549, allocations: 23.98 kB / 498.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1549, allocations: 3.953 kB / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1551, allocations: 19.95 kB / 498.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1552, allocations: 4 kB / 498.1 MB, free: 3.023 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003818/0.1555, allocations: 229.5 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1557, allocations: 55.33 kB / 498.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1558, allocations: 56 kB / 498.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1558, allocations: 4 kB / 498.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1558, allocations: 0 / 498.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.1559, allocations: 3.953 kB / 498.5 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1564, allocations: 337.4 kB / 498.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1564, allocations: 4 kB / 498.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.1565, allocations: 11.98 kB / 498.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1565, allocations: 0 / 498.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1565, allocations: 4 kB / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1565, allocations: 0 / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1565, allocations: 0 / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.1572, allocations: 222.9 kB / 499 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.1574, allocations: 136.6 kB / 499.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.1575, allocations: 7.938 kB / 499.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.1576, allocations: 7.984 kB / 499.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.1577, allocations: 19.88 kB / 499.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1578, allocations: 4 kB / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.1592, allocations: 0.7721 MB / 500 MB, free: 1.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1592, allocations: 0 / 500 MB, free: 1.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.1597, allocations: 40 kB / 0.4883 GB, free: 1.027 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001248/0.161, allocations: 412.5 kB / 0.4887 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.1614, allocations: 83.89 kB / 0.4888 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1615, allocations: 3.938 kB / 0.4888 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1617, allocations: 43.86 kB / 0.4888 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.1624, allocations: 62.33 kB / 0.4889 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3064/0.4688, allocations: 0.9486 MB / 0.4898 GB, free: 43.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.4693, allocations: 0.8534 MB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4695, allocations: 29.75 kB / 0.4907 GB, free: 42.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4695, allocations: 1 kB / 0.4907 GB, free: 42.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01489/0.4844, allocations: 4.952 MB / 0.4955 GB, free: 41.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches