Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 94.64 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 170.2 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1872/0.1872, allocations: 44.25 MB / 337.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002435/0.1365, allocations: 1.637 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1384, allocations: 1.01 MB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1386, allocations: 7.938 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.1395, allocations: 195.5 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1398, allocations: 135.6 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.1405, allocations: 210.6 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.1408, allocations: 247.3 kB / 475.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.141, allocations: 21.69 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1412, allocations: 95.55 kB / 475.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1414, allocations: 99.53 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.1414, allocations: 4 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1415, allocations: 47.95 kB / 476 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.1416, allocations: 47.83 kB / 476 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1418, allocations: 113.1 kB / 476.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1421, allocations: 223.4 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.567e-06/0.1421, allocations: 0 / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1421, allocations: 0 / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1421, allocations: 0 / 476.3 MB, free: 9.258 MB / 350.1 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.0008065/0.1429, allocations: 0.5079 MB / 476.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.143, allocations: 8.031 kB / 476.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.1431, allocations: 28.59 kB / 476.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1435, allocations: 283.6 kB / 477.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1435, allocations: 4.375 kB / 477.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1435, allocations: 12.11 kB / 477.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1438, allocations: 100.2 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1438, allocations: 7.938 kB / 477.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1438, allocations: 0 / 477.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1438, allocations: 0 / 477.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.144, allocations: 43.97 kB / 477.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.1446, allocations: 369.6 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1449, allocations: 117.2 kB / 477.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.145, allocations: 45.7 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.145, allocations: 0 / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.1453, allocations: 128.9 kB / 478 MB, free: 7.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.875e-06/0.1453, allocations: 0 / 478 MB, free: 7.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004742/0.1458, allocations: 181.2 kB / 478.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.1458, allocations: 110.8 kB / 478.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.1463, allocations: 327 kB / 478.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1463, allocations: 33.7 kB / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.1464, allocations: 132.1 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1465, allocations: 35.55 kB / 478.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1465, allocations: 21.72 kB / 478.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1467, allocations: 338.8 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.1468, allocations: 31.98 kB / 479.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1469, allocations: 73.12 kB / 479.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1471, allocations: 99.88 kB / 479.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1471, allocations: 4 kB / 479.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000282/0.1474, allocations: 145.3 kB / 479.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1474, allocations: 8 kB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1475, allocations: 0 / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1475, allocations: 0 / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1476, allocations: 28.05 kB / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1476, allocations: 0 / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.1477, allocations: 19.92 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1477, allocations: 7.938 kB / 479.5 MB, free: 5.758 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.1479, allocations: 149.8 kB / 479.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.1479, allocations: 27.66 kB / 479.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.148, allocations: 29.73 kB / 479.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.148, allocations: 0 / 479.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.148, allocations: 4 kB / 479.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.148, allocations: 4 kB / 479.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1483, allocations: 253.5 kB / 480 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1483, allocations: 0 / 480 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1483, allocations: 8 kB / 480 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1483, allocations: 0 / 480 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1483, allocations: 4 kB / 480 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1484, allocations: 4 kB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1484, allocations: 3.938 kB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1487, allocations: 185.5 kB / 480.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.1488, allocations: 108.8 kB / 480.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.1488, allocations: 0 / 480.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1489, allocations: 16.12 kB / 480.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.1489, allocations: 7.984 kB / 480.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.149, allocations: 11.92 kB / 480.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.1492, allocations: 249.9 kB / 480.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 0 / 480.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1495, allocations: 40 kB / 480.6 MB, free: 4.57 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.1506, allocations: 416.5 kB / 481 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1509, allocations: 88.03 kB / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1509, allocations: 0 / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.151, allocations: 56.33 kB / 481.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1515, allocations: 60.84 kB / 481.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.1523, allocations: 423.4 kB / 481.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.1527, allocations: 0.744 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1528, allocations: 29.92 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.1528, allocations: 27.44 kB / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1528, allocations: 0 / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007103/0.1599, allocations: 2.797 MB / 485.2 MB, free: 72 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches