Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001594/0.001594, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001915/0.001915, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2217/0.2217, 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 75.89 kB / 0.4921 GB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 65.99 MB / 0.5566 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003251/0.1455, allocations: 1.688 MB / 0.5582 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1472, allocations: 1.02 MB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1473, allocations: 0 / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1476, allocations: 51.73 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.148, allocations: 103.5 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1482, allocations: 79.66 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1484, allocations: 95.75 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.1484, allocations: 4.234 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1485, allocations: 59.7 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1486, allocations: 43.77 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1486, allocations: 4 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.1487, allocations: 35.98 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1488, allocations: 19.92 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.1488, allocations: 27.81 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.149, allocations: 103.6 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.149, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.149, allocations: 3.938 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1491, allocations: 0 / 0.5598 GB, free: 1.926 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005996/0.1497, allocations: 410.8 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1497, allocations: 8.031 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1497, allocations: 8.891 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1501, allocations: 218.3 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1501, allocations: 384 / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1501, allocations: 8.125 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1502, allocations: 45.67 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1503, allocations: 0 / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1503, allocations: 4 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1503, allocations: 4 kB / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.1503, allocations: 19.92 kB / 0.5605 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1506, allocations: 177.7 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1507, allocations: 54.59 kB / 0.5608 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1508, allocations: 16.8 kB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1508, allocations: 8 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.151, allocations: 67.33 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.151, allocations: 3.938 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003105/0.1513, allocations: 93.8 kB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1513, allocations: 55.41 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1515, allocations: 185.6 kB / 0.5612 GB, free: 384 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1515, allocations: 25.7 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1516, allocations: 104.1 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1516, allocations: 11.95 kB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1517, allocations: 17.7 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1518, allocations: 326.8 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1519, allocations: 12 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.152, allocations: 37.7 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1521, allocations: 45.7 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1521, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/0.1522, allocations: 89.47 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1523, allocations: 4 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1523, allocations: 3.938 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1523, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.1524, allocations: 11.98 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1524, allocations: 4 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1524, allocations: 4.031 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1524, allocations: 8 kB / 0.5618 GB, free: 15.64 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 (7): * Single equations (assignments): 7 * 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.0001121/0.1525, allocations: 121.8 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1526, allocations: 11.94 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1526, allocations: 13 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1526, allocations: 0 / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1526, allocations: 3.938 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1526, allocations: 0 / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1528, allocations: 197.5 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1528, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1528, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1528, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1528, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1528, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1528, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.153, allocations: 109.1 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.1531, allocations: 85.06 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1531, allocations: 8 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.1531, allocations: 3.984 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1532, allocations: 4 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1532, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1533, allocations: 141.8 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1533, allocations: 3.938 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1535, allocations: 23.88 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001564/0.1551, allocations: 401.1 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1553, allocations: 47.98 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1553, allocations: 0 / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.1553, allocations: 23.92 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1556, allocations: 31.91 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.1561, allocations: 227.5 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1564, allocations: 0.7041 MB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1565, allocations: 19.42 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1565, allocations: 0 / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of Templates: time 0.00395/0.1604, allocations: 1.701 MB / 0.5656 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.903312930022366]