Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001709/0.001709, allocations: 113.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.002047/0.002047, allocations: 208.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.613/1.613, 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.258/0.258, 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 72.08 kB / 0.4921 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1472, allocations: 66 MB / 0.5566 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003762/0.151, allocations: 1.681 MB / 0.5582 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1529, allocations: 1.027 MB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.153, allocations: 0 / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1533, allocations: 63.73 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.1537, allocations: 107.5 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.154, allocations: 75.73 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1542, allocations: 111.7 kB / 0.5596 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.1542, allocations: 4.234 kB / 0.5596 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1544, allocations: 47.78 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1545, allocations: 51.75 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1545, allocations: 4 kB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1546, allocations: 31.98 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.1547, allocations: 23.91 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.1547, allocations: 35.69 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.155, allocations: 103.6 kB / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.155, allocations: 0 / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.155, allocations: 4 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.155, allocations: 0 / 0.5599 GB, free: 1.914 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.0007119/0.1557, allocations: 410.8 kB / 0.5603 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1558, allocations: 12.03 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.1558, allocations: 12.84 kB / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1562, allocations: 207.2 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1562, allocations: 384 / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1563, allocations: 12.06 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1564, allocations: 57.61 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1564, allocations: 0 / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1564, allocations: 0 / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1565, allocations: 0 / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.1565, allocations: 15.98 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1568, allocations: 185.6 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1569, allocations: 50.61 kB / 0.5608 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.157, allocations: 20.8 kB / 0.5608 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.157, allocations: 15.91 kB / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1572, allocations: 71.33 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.1572, allocations: 0 / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003124/0.1575, allocations: 93.61 kB / 0.561 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1576, allocations: 55.41 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1578, allocations: 194.4 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1578, allocations: 29.64 kB / 0.5613 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1578, allocations: 104.1 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1579, allocations: 11.91 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1579, allocations: 17.72 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.1582, allocations: 326.8 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.1582, allocations: 15.98 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.1583, allocations: 33.7 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1584, allocations: 37.72 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1584, allocations: 0 / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001812/0.1586, allocations: 93.45 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1586, allocations: 6.031 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1586, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1586, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.1587, allocations: 16.03 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1587, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1588, allocations: 3.938 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1588, allocations: 4 kB / 0.5619 GB, free: 15.61 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.0001309/0.1589, allocations: 137.9 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1589, allocations: 7.953 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.159, allocations: 20.98 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.159, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.159, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.159, allocations: 4 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1592, allocations: 189.5 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1592, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.1592, allocations: 7.984 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1592, allocations: 320 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1593, allocations: 3.938 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1593, allocations: 4 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1593, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1595, allocations: 116.9 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1595, allocations: 85 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1596, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.1596, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1596, allocations: 7.984 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1596, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1598, allocations: 148.2 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1598, allocations: 0 / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.16, allocations: 20 kB / 0.5626 GB, free: 14.77 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.00162/0.1616, allocations: 411 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1618, allocations: 35.92 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1618, allocations: 0 / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.1619, allocations: 19.98 kB / 0.5631 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1622, allocations: 35.39 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.1627, allocations: 231.7 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1631, allocations: 0.7041 MB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1631, allocations: 15.44 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1631, allocations: 0 / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of Templates: time 0.003885/0.167, allocations: 1.735 MB / 0.5657 GB, free: 11.69 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.208505434013205]