Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009256/0.0009256, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003572/0.003572, allocations: 162.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.883/0.883, allocations: 177.2 MB / 205 MB, free: 5.359 MB / 186.7 MB " [Timeout remaining time 179] 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.2323/0.2323, allocations: 34.25 MB / 295.7 MB, free: 0.6758 MB / 266.7 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 443.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.847e-05, allocations: 5.656 kB / 443.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.1525/0.1525, allocations: 1.608 MB / 445.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.1532, allocations: 0.544 MB / 445.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.1533, allocations: 2.906 kB / 445.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1536, allocations: 457.2 kB / 446.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1539, allocations: 297.9 kB / 446.4 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1542, allocations: 167.2 kB / 446.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1543, allocations: 176 kB / 446.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.1544, allocations: 6.25 kB / 446.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.1545, allocations: 120.8 kB / 446.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1546, allocations: 239.7 kB / 447 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1547, allocations: 2.688 kB / 447 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.1547, allocations: 20.12 kB / 447.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.1548, allocations: 88.56 kB / 447.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1548, allocations: 39.47 kB / 447.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.155, allocations: 233.2 kB / 447.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.155, allocations: 5.188 kB / 447.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.155, allocations: 0 / 447.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.155, allocations: 3.938 kB / 447.4 MB, free: 43.13 MB / 410.7 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.0004171/0.1554, allocations: 0.5609 MB / 448 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1555, allocations: 8.75 kB / 448 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1555, allocations: 42.78 kB / 448 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1556, allocations: 241.9 kB / 448.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1557, allocations: 10.31 kB / 448.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.1557, allocations: 3.531 kB / 448.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1558, allocations: 49.27 kB / 448.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1558, allocations: 192 / 448.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1558, allocations: 10.78 kB / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1558, allocations: 3.938 kB / 448.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.1558, allocations: 25.34 kB / 448.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.1561, allocations: 328.3 kB / 448.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.1561, allocations: 33.09 kB / 448.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.1562, allocations: 20.83 kB / 448.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1562, allocations: 3.281 kB / 448.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.1562, allocations: 33.5 kB / 448.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1562, allocations: 0 / 448.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001639/0.1564, allocations: 104.8 kB / 448.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1564, allocations: 54.16 kB / 448.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.1568, allocations: 0.8608 MB / 449.8 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.1568, allocations: 28.58 kB / 449.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1569, allocations: 214.9 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1569, allocations: 6.734 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1569, allocations: 15.73 kB / 450.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.157, allocations: 364.7 kB / 450.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.157, allocations: 9 kB / 450.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.157, allocations: 9.75 kB / 450.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.1571, allocations: 38.12 kB / 450.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1571, allocations: 0 / 450.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.276e-05/0.1571, allocations: 98.16 kB / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1572, allocations: 5.938 kB / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1572, allocations: 0 / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1572, allocations: 1.5 kB / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.1572, allocations: 2.906 kB / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1572, allocations: 6.75 kB / 450.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1572, allocations: 7.266 kB / 450.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.1572, allocations: 2.844 kB / 450.6 MB, free: 41.17 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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 8.996e-05/0.1573, allocations: 207.2 kB / 450.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1574, allocations: 47.97 kB / 450.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.1575, allocations: 107.4 kB / 450.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1575, allocations: 0 / 450.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1575, allocations: 0 / 450.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1575, allocations: 0 / 450.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1576, allocations: 229.6 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1576, allocations: 4.031 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.1576, allocations: 5.906 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1576, allocations: 3.938 kB / 451.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1576, allocations: 0 / 451.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1576, allocations: 2.25 kB / 451.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1576, allocations: 0 / 451.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.41e-05/0.1577, allocations: 198.8 kB / 451.4 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.1577, allocations: 36.84 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1577, allocations: 1 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.1578, allocations: 7 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.1578, allocations: 0 / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1578, allocations: 2.875 kB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002919/0.1581, allocations: 0.6537 MB / 452.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 452.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.1582, allocations: 16.69 kB / 452.1 MB, free: 40.35 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.0005491/0.1588, allocations: 378.7 kB / 452.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.1589, allocations: 25.47 kB / 452.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1589, allocations: 0 / 452.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.1589, allocations: 15.72 kB / 452.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1591, allocations: 23.03 kB / 452.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1597, allocations: 0.8211 MB / 453.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.1598, allocations: 218.5 kB / 453.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1599, allocations: 15.31 kB / 453.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1599, allocations: 2.844 kB / 453.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of Templates: time 0.003367/0.1632, allocations: 3.648 MB / 457.2 MB, free: 38.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 4.593528249301016]