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.001353/0.001353, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001477/0.001477, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.424/1.424, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2191/0.2191, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.59 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003748/0.1397, allocations: 1.927 MB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1416, allocations: 1.052 MB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.1417, allocations: 3.938 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.1424, allocations: 207.4 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1427, allocations: 151.4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.1432, allocations: 229.4 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1435, allocations: 251.3 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1436, allocations: 17.67 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1438, allocations: 111.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1439, allocations: 99.59 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1439, allocations: 16 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1441, allocations: 55.91 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.1442, allocations: 55.83 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.1443, allocations: 79.47 kB / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1446, allocations: 235.4 kB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1446, allocations: 0 / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1446, allocations: 3.938 kB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1446, allocations: 0 / 473.7 MB, free: 9.891 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.0008199/0.1454, allocations: 0.5389 MB / 474.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1455, allocations: 19.95 kB / 474.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.1455, allocations: 24.66 kB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1459, allocations: 271.6 kB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1459, allocations: 12.31 kB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1459, allocations: 8.125 kB / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1462, allocations: 96.22 kB / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1462, allocations: 0 / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.1462, allocations: 16 kB / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1462, allocations: 0 / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1464, allocations: 39.91 kB / 474.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.1469, allocations: 377.5 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1471, allocations: 125.2 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.1472, allocations: 41.7 kB / 475.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1473, allocations: 4 kB / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.1475, allocations: 113.1 kB / 475.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1475, allocations: 7.875 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004477/0.148, allocations: 173.4 kB / 475.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.148, allocations: 110.8 kB / 475.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.1484, allocations: 331 kB / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1484, allocations: 25.7 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.1485, allocations: 148 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1485, allocations: 31.64 kB / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1486, allocations: 25.72 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1487, allocations: 342.8 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.1488, allocations: 27.98 kB / 476.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1489, allocations: 88.72 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1491, allocations: 95.36 kB / 476.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1491, allocations: 0 / 476.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002712/0.1494, allocations: 149.9 kB / 476.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1494, allocations: 4 kB / 476.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1494, allocations: 4.094 kB / 476.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1495, allocations: 4 kB / 476.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1496, allocations: 23.92 kB / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1496, allocations: 4 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.1497, allocations: 11.91 kB / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1497, allocations: 11.92 kB / 477 MB, free: 6.34 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.000177/0.1499, allocations: 141.8 kB / 477.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1499, allocations: 27.66 kB / 477.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.15, allocations: 33.73 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.15, allocations: 3.938 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.15, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.15, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1503, allocations: 257.5 kB / 477.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1503, allocations: 0 / 477.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.1503, allocations: 11.98 kB / 477.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1503, allocations: 0 / 477.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1503, allocations: 0 / 477.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1503, allocations: 4 kB / 477.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1503, allocations: 0 / 477.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1507, allocations: 193.5 kB / 477.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.1507, allocations: 92.83 kB / 477.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.1508, allocations: 4 kB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.1508, allocations: 11.98 kB / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1509, allocations: 7.984 kB / 477.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1509, allocations: 7.938 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.1512, allocations: 253.9 kB / 478 MB, free: 5.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1512, allocations: 0 / 478 MB, free: 5.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1514, allocations: 39.98 kB / 478 MB, free: 5.168 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.0009798/0.1524, allocations: 426.3 kB / 478.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1528, allocations: 99.83 kB / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1528, allocations: 0 / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1529, allocations: 48.11 kB / 478.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1533, allocations: 61 kB / 478.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.1539, allocations: 388.3 kB / 479 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1542, allocations: 0.7476 MB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.1543, allocations: 33.92 kB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1544, allocations: 23.44 kB / 479.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1544, allocations: 0 / 479.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of Templates: time 0.006201/0.1606, allocations: 2.961 MB / 482.8 MB, free: 0.5352 MB / 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches