Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 182.6 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.037/2.037, 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.00113/0.00113, allocations: 93.48 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.5306/0.5306, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004808, allocations: 16 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002989/0.1328, allocations: 1.602 MB / 491.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1351, allocations: 0.8708 MB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1353, allocations: 3.938 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.1361, allocations: 171.5 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.1366, allocations: 135.6 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.1374, allocations: 163.7 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.1379, allocations: 155.7 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.138, allocations: 25.66 kB / 493.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1382, allocations: 95.59 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1384, allocations: 83.67 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1385, allocations: 4 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1387, allocations: 35.98 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.1388, allocations: 47.81 kB / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.1389, allocations: 57.58 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1392, allocations: 167.9 kB / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1392, allocations: 0 / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1393, allocations: 0 / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1393, allocations: 0 / 493.8 MB, free: 7.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001035/0.1403, allocations: 0.5232 MB / 494.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1404, allocations: 12.03 kB / 494.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.1405, allocations: 23.72 kB / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.141, allocations: 278.4 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.141, allocations: 0 / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1411, allocations: 4 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1414, allocations: 104.2 kB / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1414, allocations: 0 / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1414, allocations: 8 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1415, allocations: 7.953 kB / 494.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1417, allocations: 39.95 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.1424, allocations: 365.6 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.1428, allocations: 121.4 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.1429, allocations: 12.14 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.1432, allocations: 120.9 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.815e-06/0.1433, allocations: 0 / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007527/0.144, allocations: 185.2 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.1441, allocations: 106.8 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.1447, allocations: 327 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.1448, allocations: 33.7 kB / 496.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1449, allocations: 190.4 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.145, allocations: 35.55 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.145, allocations: 4 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1452, allocations: 318.8 kB / 496.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1453, allocations: 27.98 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.1455, allocations: 81.06 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1457, allocations: 36.02 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1457, allocations: 0 / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004339/0.1462, allocations: 125.6 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1462, allocations: 7.953 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1462, allocations: 4 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1462, allocations: 0 / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1465, allocations: 27.92 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1465, allocations: 0 / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1467, allocations: 23.89 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1467, allocations: 8 kB / 496.9 MB, free: 4.188 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002059/0.1469, allocations: 150.4 kB / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.147, allocations: 23.72 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.1471, allocations: 29.69 kB / 497.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1471, allocations: 7.938 kB / 497.1 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1471, allocations: 0 / 497.1 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1471, allocations: 4 kB / 497.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.1474, allocations: 253.5 kB / 497.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1475, allocations: 4 kB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1475, allocations: 4 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1476, allocations: 4 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1476, allocations: 0 / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1476, allocations: 3.953 kB / 497.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1476, allocations: 0 / 497.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.1481, allocations: 199.2 kB / 497.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1483, allocations: 108.8 kB / 497.7 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.1483, allocations: 7.953 kB / 497.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1485, allocations: 4 kB / 497.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1485, allocations: 11.98 kB / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.1486, allocations: 11.98 kB / 497.7 MB, free: 3.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003784/0.149, allocations: 237.9 kB / 498 MB, free: 3.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.149, allocations: 4 kB / 498 MB, free: 3.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000387/0.1494, allocations: 39.98 kB / 498 MB, free: 2.992 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001263/0.1507, allocations: 424.5 kB / 498.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.1512, allocations: 91.89 kB / 498.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1512, allocations: 0 / 498.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1514, allocations: 47.92 kB / 498.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.152, allocations: 56.91 kB / 498.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.153, allocations: 433.1 kB / 499 MB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1534, allocations: 0.7518 MB / 499.8 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.1535, allocations: 27.38 kB / 499.8 MB, free: 1.164 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1535, allocations: 0 / 499.8 MB, free: 1.164 MB / 378.7 MB Notification: Performance of Templates: time 0.3431/0.4966, allocations: 3.169 MB / 0.4912 GB, free: 42.36 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches