Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001934/0.001934, allocations: 116.3 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002073/0.002073, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 230.3 MB / 255.2 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2549/0.2549, allocations: 46.93 MB / 358.2 MB, free: 10.39 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 87.84 kB / 0.4926 GB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1472, allocations: 66.01 MB / 0.5571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003294/0.1505, allocations: 1.737 MB / 0.5588 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1523, allocations: 1.034 MB / 0.5598 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.1524, allocations: 4 kB / 0.5598 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1527, allocations: 55.75 kB / 0.5598 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.153, allocations: 103.5 kB / 0.5599 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1532, allocations: 71.73 kB / 0.56 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1534, allocations: 107.6 kB / 0.5601 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.1535, allocations: 12 kB / 0.5601 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.1536, allocations: 51.77 kB / 0.5602 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.1537, allocations: 23.86 kB / 0.5602 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1537, allocations: 4 kB / 0.5602 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1539, allocations: 55.91 kB / 0.5602 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.154, allocations: 31.84 kB / 0.5603 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.154, allocations: 39.69 kB / 0.5603 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1543, allocations: 131.4 kB / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1543, allocations: 0 / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1543, allocations: 0 / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1543, allocations: 4 kB / 0.5604 GB, free: 1.918 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.0006578/0.1549, allocations: 458.3 kB / 0.5609 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.155, allocations: 16.02 kB / 0.5609 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.155, allocations: 20.78 kB / 0.5609 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1554, allocations: 213.1 kB / 0.5611 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1554, allocations: 8.375 kB / 0.5611 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1554, allocations: 384 / 0.5611 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1556, allocations: 57.98 kB / 0.5612 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1556, allocations: 4 kB / 0.5612 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1556, allocations: 0 / 0.5612 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1556, allocations: 4 kB / 0.5612 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.1557, allocations: 15.98 kB / 0.5612 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.1562, allocations: 312.7 kB / 0.5615 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1564, allocations: 50.69 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1564, allocations: 20.84 kB / 0.5616 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1564, allocations: 4 kB / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1566, allocations: 67.33 kB / 0.5616 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1566, allocations: 0 / 0.5616 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1572, allocations: 185.3 kB / 0.5618 GB, free: 344 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1572, allocations: 55.41 kB / 0.5619 GB, free: 276 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1575, allocations: 274.8 kB / 0.5621 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1575, allocations: 29.7 kB / 0.5621 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.1576, allocations: 112.1 kB / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.1577, allocations: 27.78 kB / 0.5623 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1577, allocations: 21.72 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1579, allocations: 334.8 kB / 0.5626 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.1579, allocations: 19.94 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.158, allocations: 41.7 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1581, allocations: 69.69 kB / 0.5627 GB, free: 15.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1581, allocations: 0 / 0.5627 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1583, allocations: 105.5 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1584, allocations: 4 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1584, allocations: 4 kB / 0.5629 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1584, allocations: 0 / 0.5629 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1585, allocations: 19.97 kB / 0.5629 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1585, allocations: 0 / 0.5629 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.1585, allocations: 12.36 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1585, allocations: 4 kB / 0.5629 GB, free: 15.16 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.0001915/0.1587, allocations: 137.8 kB / 0.563 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1588, allocations: 15.91 kB / 0.563 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.1588, allocations: 17.41 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1588, allocations: 4 kB / 0.5631 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-06/0.1588, allocations: 11.98 kB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1588, allocations: 0 / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1593, allocations: 407.2 kB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1593, allocations: 0 / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1594, allocations: 8 kB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1594, allocations: 0 / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1594, allocations: 4 kB / 0.5635 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1594, allocations: 7.875 kB / 0.5635 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1594, allocations: 0 / 0.5635 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1597, allocations: 208.3 kB / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.1597, allocations: 93 kB / 0.5638 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1598, allocations: 0 / 0.5638 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1598, allocations: 11.94 kB / 0.5638 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1599, allocations: 3.984 kB / 0.5638 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1599, allocations: 4.188 kB / 0.5638 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1601, allocations: 204.6 kB / 0.564 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 3.938 kB / 0.564 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1604, allocations: 31.86 kB / 0.564 GB, free: 13.9 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.001749/0.1621, allocations: 458.2 kB / 0.5644 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1623, allocations: 55.95 kB / 0.5645 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1623, allocations: 0 / 0.5645 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.1624, allocations: 31.86 kB / 0.5645 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.000385/0.1628, allocations: 27.97 kB / 0.5646 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.1634, allocations: 329.3 kB / 0.5649 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1638, allocations: 0.7235 MB / 0.5656 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1638, allocations: 19.42 kB / 0.5656 GB, free: 12.37 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1638, allocations: 0 / 0.5656 GB, free: 12.37 MB / 430.1 MB Notification: Performance of Templates: time 0.00442/0.1682, allocations: 2.115 MB / 0.5677 GB, free: 10.26 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.931933308995212]