Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001794/0.001794, allocations: 115 kB / 18.46 MB, free: 4.621 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.00234/0.00234, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2379/0.2379, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.84 kB / 0.4922 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1275, allocations: 65.99 MB / 0.5566 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003415/0.1309, allocations: 1.737 MB / 0.5583 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1327, allocations: 1.038 MB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.1328, allocations: 0 / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1332, allocations: 87.69 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1335, allocations: 115.5 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1338, allocations: 75.69 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.134, allocations: 115.7 kB / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.1341, allocations: 12 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1342, allocations: 63.75 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1344, allocations: 59.75 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1344, allocations: 4 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1345, allocations: 43.98 kB / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.1345, allocations: 27.84 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.1346, allocations: 39.73 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1348, allocations: 123.4 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1348, allocations: 0 / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1349, allocations: 0 / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1349, allocations: 0 / 0.56 GB, free: 1.738 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000607/0.1355, allocations: 438.5 kB / 0.5605 GB, free: 1.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1355, allocations: 8.031 kB / 0.5605 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1356, allocations: 20.84 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1359, allocations: 212.1 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1359, allocations: 384 / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1359, allocations: 8.125 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.136, allocations: 57.61 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.136, allocations: 0 / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1361, allocations: 4 kB / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1361, allocations: 4 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.1361, allocations: 23.92 kB / 0.5608 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1366, allocations: 292.8 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1367, allocations: 54.67 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.1368, allocations: 24.84 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1368, allocations: 4 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.137, allocations: 67.33 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.137, allocations: 3.938 kB / 0.5612 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.1375, allocations: 181.4 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.1376, allocations: 55.39 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1378, allocations: 223.4 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1378, allocations: 29.7 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1379, allocations: 104.1 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1379, allocations: 27.78 kB / 0.5618 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.138, allocations: 25.72 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1381, allocations: 326.8 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.1382, allocations: 23.98 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.1383, allocations: 37.7 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1384, allocations: 61.62 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1384, allocations: 0 / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.1386, allocations: 105.5 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1386, allocations: 5.875 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1386, allocations: 4 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1386, allocations: 0 / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.1387, allocations: 15.98 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.1387, allocations: 4.031 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.1388, allocations: 7.938 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1388, allocations: 8 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001173/0.1389, allocations: 128 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1389, allocations: 15.91 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.139, allocations: 17.39 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.139, allocations: 4 kB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.139, allocations: 0 / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.139, allocations: 8.125 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.1395, allocations: 403.5 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1395, allocations: 3.938 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1395, allocations: 11.94 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1395, allocations: 4 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1395, allocations: 3.938 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1395, allocations: 0 / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1395, allocations: 0 / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1398, allocations: 212.3 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1399, allocations: 85.05 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1399, allocations: 7.938 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.14, allocations: 384 / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.14, allocations: 11.98 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.14, allocations: 11.94 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1402, allocations: 169.2 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1402, allocations: 0 / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1404, allocations: 27.92 kB / 0.5635 GB, free: 13.87 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001748/0.1422, allocations: 453.6 kB / 0.5639 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1424, allocations: 55.91 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1424, allocations: 0 / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.1425, allocations: 27.98 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1428, allocations: 35.72 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1434, allocations: 280.8 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1437, allocations: 0.7159 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.1438, allocations: 19.42 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1438, allocations: 0 / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Templates: time 0.004258/0.148, allocations: 2.012 MB / 0.567 GB, free: 10.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: 7.9319979090068955]