Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, 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.804/1.804, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0008639/0.0008638, allocations: 97.94 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.4153/0.4153, allocations: 43.55 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004086, allocations: 15.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002037/0.1388, allocations: 1.401 MB / 491.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1399, allocations: 0.7383 MB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.14, allocations: 7.938 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1403, allocations: 27.91 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1405, allocations: 43.83 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1407, allocations: 75.83 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1409, allocations: 83.7 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.141, allocations: 12.22 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.1411, allocations: 43.77 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.1411, allocations: 27.86 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1412, allocations: 0 / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1413, allocations: 32 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.1413, allocations: 23.91 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.1414, allocations: 41.58 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1415, allocations: 80.09 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1415, allocations: 0 / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1415, allocations: 4 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1416, allocations: 0 / 492.9 MB, free: 8.562 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.0005318/0.1421, allocations: 394.9 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1421, allocations: 12.02 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1422, allocations: 11.81 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1424, allocations: 202.9 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1425, allocations: 0 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1425, allocations: 4 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1427, allocations: 61.61 kB / 493.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1427, allocations: 3.938 kB / 493.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1427, allocations: 3.984 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1427, allocations: 3.953 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.1428, allocations: 19.98 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1432, allocations: 280.9 kB / 493.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1434, allocations: 62.62 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.1434, allocations: 20.84 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1434, allocations: 0 / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1436, allocations: 71.34 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1436, allocations: 0 / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005045/0.1442, allocations: 169.1 kB / 494.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1442, allocations: 59.41 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1444, allocations: 166.2 kB / 494.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1444, allocations: 29.7 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1445, allocations: 104.1 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1445, allocations: 27.64 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1445, allocations: 0 / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1446, allocations: 322.8 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1447, allocations: 20 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.1448, allocations: 41.64 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.1449, allocations: 23.98 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1449, allocations: 0 / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.145, allocations: 97.55 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1451, allocations: 11.38 kB / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1451, allocations: 0 / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1451, allocations: 0 / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1452, allocations: 28.39 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1452, allocations: 0 / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1453, allocations: 4 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1453, allocations: 4 kB / 495.1 MB, free: 6.121 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.537e-05/0.1454, allocations: 125.8 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.1454, allocations: 15.77 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.1455, allocations: 16.72 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1455, allocations: 0 / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1455, allocations: 0 / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1455, allocations: 4 kB / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.1459, allocations: 391.2 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1459, allocations: 3.984 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.146, allocations: 11.94 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.146, allocations: 4 kB / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.146, allocations: 4 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.146, allocations: 0 / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.146, allocations: 0 / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1462, allocations: 200.3 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1463, allocations: 100.9 kB / 495.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1463, allocations: 4 kB / 495.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1464, allocations: 192 / 495.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1464, allocations: 11.98 kB / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1465, allocations: 7.938 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.939e-05/0.1466, allocations: 139.9 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1466, allocations: 0 / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.1468, allocations: 27.98 kB / 496.1 MB, free: 4.973 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.0009095/0.1478, allocations: 453.3 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1479, allocations: 59.91 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.148, allocations: 0 / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.148, allocations: 27.98 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1483, allocations: 23.97 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.1488, allocations: 259.8 kB / 496.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1491, allocations: 0.712 MB / 497.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1491, allocations: 15.44 kB / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1491, allocations: 4 kB / 497.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of Templates: time 0.003352/0.1525, allocations: 1.855 MB / 499.5 MB, free: 1.559 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches