Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.002163/0.002163, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.003102/0.003102, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.618/1.618, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2476/0.2476, allocations: 46.92 MB / 357.1 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 59.91 kB / 0.4915 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1561, allocations: 66.01 MB / 0.556 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.005989/0.162, allocations: 1.748 MB / 0.5577 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1646, allocations: 1.037 MB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1647, allocations: 0 / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.1651, allocations: 111.7 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.1658, allocations: 127.5 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1661, allocations: 75.72 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1665, allocations: 135.6 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1666, allocations: 15.98 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1668, allocations: 63.75 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.167, allocations: 79.72 kB / 0.5593 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.167, allocations: 4 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.1672, allocations: 63.92 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1673, allocations: 23.92 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1674, allocations: 55.59 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.1678, allocations: 155.3 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1678, allocations: 0 / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1678, allocations: 0 / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1678, allocations: 0 / 0.5595 GB, free: 1.543 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001014/0.1688, allocations: 466.3 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.1689, allocations: 8.031 kB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.169, allocations: 20.78 kB / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.1695, allocations: 229 kB / 0.5602 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1695, allocations: 4.375 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1695, allocations: 4.125 kB / 0.5602 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1698, allocations: 65.67 kB / 0.5603 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.1698, allocations: 3.984 kB / 0.5603 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1698, allocations: 3.938 kB / 0.5603 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1698, allocations: 4 kB / 0.5603 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1699, allocations: 31.98 kB / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1706, allocations: 324.7 kB / 0.5607 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.171, allocations: 74.58 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.1711, allocations: 24.84 kB / 0.5608 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1711, allocations: 4 kB / 0.5608 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1713, allocations: 79.31 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.1713, allocations: 0 / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001053/0.1723, allocations: 277.8 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1725, allocations: 59.34 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.173, allocations: 255.8 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.173, allocations: 33.7 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.1731, allocations: 112.1 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.1732, allocations: 39.62 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1733, allocations: 33.7 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.1736, allocations: 326.8 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.1737, allocations: 31.98 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1738, allocations: 45.7 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.174, allocations: 93.64 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.174, allocations: 0 / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003774/0.1743, allocations: 145.5 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1744, allocations: 4 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.1744, allocations: 0 / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.1744, allocations: 7.984 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.1745, allocations: 16 kB / 0.5623 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1745, allocations: 7.938 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.1746, allocations: 15.91 kB / 0.5623 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1746, allocations: 8 kB / 0.5623 GB, free: 14.5 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 (14): * Single equations (assignments): 14 * 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.0001517/0.1747, allocations: 138.1 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1748, allocations: 15.91 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.1748, allocations: 25.39 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1749, allocations: 3.984 kB / 0.5625 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.1749, allocations: 3.938 kB / 0.5625 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1749, allocations: 4 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.1755, allocations: 476 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1755, allocations: 7.938 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1756, allocations: 12 kB / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1756, allocations: 0 / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.1756, allocations: 12.08 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1756, allocations: 7.938 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1756, allocations: 0 / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.176, allocations: 265.1 kB / 0.5632 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.1761, allocations: 89.02 kB / 0.5633 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1761, allocations: 4 kB / 0.5633 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1762, allocations: 4 kB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1762, allocations: 7.984 kB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1762, allocations: 12 kB / 0.5633 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1764, allocations: 197.4 kB / 0.5635 GB, free: 13.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1764, allocations: 0 / 0.5635 GB, free: 13.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1767, allocations: 31.94 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002137/0.1789, allocations: 0.5073 MB / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.1792, allocations: 79.91 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.1792, allocations: 4.062 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1793, allocations: 39.92 kB / 0.5642 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1797, allocations: 35.69 kB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.1804, allocations: 324.5 kB / 0.5645 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.1809, allocations: 0.728 MB / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.181, allocations: 29.06 kB / 0.5652 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.181, allocations: 19.44 kB / 0.5653 GB, free: 11.49 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.181, allocations: 0 / 0.5653 GB, free: 11.49 MB / 430.1 MB Notification: Performance of Templates: time 0.006863/0.1879, allocations: 2.121 MB / 0.5673 GB, free: 9.395 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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: 5.417042180895805]