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.001195/0.001194, allocations: 96.78 kB / 17 MB, free: 6.418 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.001347/0.001348, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.465/1.465, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.25 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 17.09 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002552/0.1365, allocations: 1.606 MB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1382, allocations: 0.9713 MB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.1383, allocations: 3.938 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1389, allocations: 183.6 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1392, allocations: 135.5 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1397, allocations: 179.1 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1399, allocations: 223.3 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.14, allocations: 33.66 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1401, allocations: 87.56 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1403, allocations: 95.59 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1403, allocations: 4 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.1404, allocations: 43.97 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1405, allocations: 43.83 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.1406, allocations: 57.58 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1407, allocations: 175.8 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1408, allocations: 4 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1408, allocations: 0 / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1408, allocations: 0 / 475.4 MB, free: 9.836 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.0006151/0.1414, allocations: 0.5116 MB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1414, allocations: 15.97 kB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1415, allocations: 23.7 kB / 476 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.1418, allocations: 266.6 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1418, allocations: 4 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1418, allocations: 8 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.142, allocations: 108.1 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.1421, allocations: 3.938 kB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1421, allocations: 0 / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1421, allocations: 4 kB / 476.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1422, allocations: 39.97 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.1427, allocations: 377.5 kB / 476.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.143, allocations: 121.2 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.1431, allocations: 45.7 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.1431, allocations: 0 / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1433, allocations: 120.9 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1433, allocations: 0 / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003923/0.1437, allocations: 181.3 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1438, allocations: 106.8 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1441, allocations: 331 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1442, allocations: 25.7 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1443, allocations: 144 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1443, allocations: 27.72 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.1443, allocations: 4 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1445, allocations: 338.8 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.1446, allocations: 31.98 kB / 478.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1447, allocations: 77.06 kB / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/0.1448, allocations: 43.98 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1448, allocations: 7.969 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002727/0.1451, allocations: 149.9 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1451, allocations: 4 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.1451, allocations: 0 / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1451, allocations: 4 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1452, allocations: 23.92 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1452, allocations: 4 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.1453, allocations: 15.84 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1453, allocations: 12.06 kB / 478.5 MB, free: 6.422 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 ($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.0001402/0.1455, allocations: 146.3 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1455, allocations: 27.7 kB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.1456, allocations: 25.73 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1456, allocations: 0 / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1456, allocations: 4 kB / 478.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1456, allocations: 3.938 kB / 478.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1459, allocations: 245.5 kB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1459, allocations: 3.953 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.1459, allocations: 12 kB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1459, allocations: 0 / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1459, allocations: 7.984 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1459, allocations: 0 / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1459, allocations: 3.938 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.1463, allocations: 173.7 kB / 479.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.1464, allocations: 116.7 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1464, allocations: 7.938 kB / 479.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1465, allocations: 7.984 kB / 479.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1465, allocations: 11.98 kB / 479.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1465, allocations: 4 kB / 479.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.1468, allocations: 245.9 kB / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.147, allocations: 32 kB / 479.6 MB, free: 5.262 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 (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.0009006/0.148, allocations: 431 kB / 480 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1482, allocations: 83.91 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1482, allocations: 4 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1483, allocations: 43.92 kB / 480.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1486, allocations: 65.31 kB / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.1492, allocations: 399.7 kB / 480.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1495, allocations: 0.7518 MB / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.1496, allocations: 37.92 kB / 481.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1497, allocations: 23.38 kB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1497, allocations: 0 / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005509/0.1552, allocations: 2.729 MB / 484.1 MB, free: 0.8359 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