Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001857/0.001857, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002113/0.002113, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.614/1.614, 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.2471/0.2471, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 63.91 kB / 0.4914 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1542, allocations: 65.99 MB / 0.5559 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004333/0.1585, allocations: 1.616 MB / 0.5574 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1608, allocations: 1.175 MB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1608, allocations: 0 / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1611, allocations: 23.8 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1615, allocations: 87.61 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1618, allocations: 107.7 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.162, allocations: 67.77 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1621, allocations: 15.98 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1622, allocations: 19.92 kB / 0.5589 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1624, allocations: 43.77 kB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1624, allocations: 4 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1626, allocations: 87.95 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.1626, allocations: 23.91 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1627, allocations: 23.8 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1631, allocations: 143.5 kB / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1631, allocations: 4 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1631, allocations: 0 / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1631, allocations: 0 / 0.5592 GB, free: 1.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007386/0.1638, allocations: 406.8 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1639, allocations: 12.03 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1639, allocations: 8.891 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1642, allocations: 194.3 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1642, allocations: 384 / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1642, allocations: 8.312 kB / 0.5598 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1644, allocations: 67.53 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1644, allocations: 0 / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1644, allocations: 0 / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1644, allocations: 0 / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1645, allocations: 27.97 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1649, allocations: 284.9 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1652, allocations: 46.5 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.1652, allocations: 20.94 kB / 0.5602 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1652, allocations: 0 / 0.5602 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1653, allocations: 30.56 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1653, allocations: 0 / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006574/0.1659, allocations: 161.4 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.166, allocations: 77.11 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.1663, allocations: 145.8 kB / 0.5606 GB, free: 188 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1663, allocations: 25.7 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.1664, allocations: 96.12 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1664, allocations: 23.72 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.1665, allocations: 29.7 kB / 0.5608 GB, free: 16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.1667, allocations: 318.8 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.1668, allocations: 19.98 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.1669, allocations: 41.62 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1672, allocations: 53.02 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1672, allocations: 3.938 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002255/0.1674, allocations: 93.64 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1674, allocations: 5.875 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1674, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1674, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.1675, allocations: 15.98 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1675, allocations: 0 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1676, allocations: 4 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1676, allocations: 7.875 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001223/0.1677, allocations: 124 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.1677, allocations: 7.953 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.168, allocations: 93.97 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.168, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.168, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.168, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.1687, allocations: 366.4 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1687, allocations: 4 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.1687, allocations: 11.98 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1687, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1688, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1688, allocations: 3.938 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1688, allocations: 4 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1691, allocations: 191.6 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1692, allocations: 89.05 kB / 0.5622 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1692, allocations: 0 / 0.5622 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1693, allocations: 7.938 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1693, allocations: 0 / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1693, allocations: 7.984 kB / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1694, allocations: 111.3 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 0 / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.1698, allocations: 43.86 kB / 0.5624 GB, free: 14.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002052/0.1718, allocations: 0.4932 MB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.172, allocations: 51.95 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.172, allocations: 0 / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.1721, allocations: 27.92 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1725, allocations: 19.23 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.173, allocations: 173.5 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.1735, allocations: 0.6885 MB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.1736, allocations: 19.75 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1736, allocations: 19.42 kB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1736, allocations: 0 / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Templates: time 0.005791/0.1794, allocations: 1.781 MB / 0.5656 GB, free: 11.14 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.492882326245308]