Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.235/0.235, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 65.99 MB / 0.5566 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003559/0.1327, allocations: 1.98 MB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1348, allocations: 1.206 MB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.1349, allocations: 0 / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.1356, allocations: 199.3 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.1361, allocations: 203.3 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.1365, allocations: 159.1 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.1368, allocations: 271.2 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1369, allocations: 16.3 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1371, allocations: 119.5 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1373, allocations: 123.5 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.1373, allocations: 11.94 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1375, allocations: 63.95 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.1375, allocations: 47.84 kB / 0.5609 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1376, allocations: 95.34 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.138, allocations: 243 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.138, allocations: 0 / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.138, allocations: 0 / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.138, allocations: 0 / 0.5612 GB, free: 0.5742 MB / 414.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.000938/0.1389, allocations: 0.569 MB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.139, allocations: 8.031 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.139, allocations: 24.8 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1394, allocations: 291.8 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1394, allocations: 4.375 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1395, allocations: 4.938 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1397, allocations: 108.2 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1397, allocations: 7.875 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1397, allocations: 3.984 kB / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1397, allocations: 0 / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1399, allocations: 43.98 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.1404, allocations: 385.4 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1407, allocations: 113.3 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1408, allocations: 45.58 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1408, allocations: 3.984 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1411, allocations: 109.1 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 9.758e-06/0.1411, allocations: 4 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005051/0.1416, allocations: 189.8 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.1417, allocations: 106.8 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.1421, allocations: 347.3 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1421, allocations: 25.7 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1422, allocations: 144.1 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1423, allocations: 35.81 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.1423, allocations: 33.7 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1425, allocations: 342.8 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.1426, allocations: 27.98 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1427, allocations: 85.06 kB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1429, allocations: 95.39 kB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1429, allocations: 0 / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003061/0.1432, allocations: 149.4 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1433, allocations: 11.98 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1433, allocations: 0 / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1433, allocations: 0 / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1434, allocations: 20 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1434, allocations: 8 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.1435, allocations: 19.92 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1435, allocations: 7.938 kB / 0.5644 GB, free: 12.95 MB / 430.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.0001503/0.1437, allocations: 153 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.1437, allocations: 27.81 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.1438, allocations: 30.02 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1438, allocations: 0 / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.1438, allocations: 7.984 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1438, allocations: 4 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1441, allocations: 257.5 kB / 0.5649 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1441, allocations: 0 / 0.5649 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.1441, allocations: 15.92 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1441, allocations: 0 / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1441, allocations: 4 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1441, allocations: 0 / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1441, allocations: 0 / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1445, allocations: 193.6 kB / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.1445, allocations: 96.97 kB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1446, allocations: 4 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1447, allocations: 11.92 kB / 0.5652 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1447, allocations: 11.98 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1447, allocations: 7.938 kB / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003022/0.145, allocations: 261.9 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1453, allocations: 43.88 kB / 0.5655 GB, free: 11.75 MB / 430.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.001588/0.1469, allocations: 419.8 kB / 0.5659 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1472, allocations: 83.84 kB / 0.566 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1472, allocations: 0 / 0.566 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1473, allocations: 47.91 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1477, allocations: 73.78 kB / 0.5661 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.1485, allocations: 438 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1489, allocations: 0.7518 MB / 0.5672 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1489, allocations: 31.42 kB / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1489, allocations: 4 kB / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Templates: time 0.006107/0.155, allocations: 3.354 MB / 0.5706 GB, free: 6.676 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.381937797996216]