Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0008418/0.0008418, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003774/0.003774, allocations: 160.9 kB / 24.7 MB, free: 9.41 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.9384/0.9384, allocations: 177.1 MB / 205 MB, free: 5.738 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.2233/0.2233, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.774e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.1571/0.1571, allocations: 1.61 MB / 445.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.1577, allocations: 0.5253 MB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.1578, allocations: 6.125 kB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.158, allocations: 80.86 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1583, allocations: 103.2 kB / 445.8 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1585, allocations: 91.97 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1586, allocations: 98.03 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.1587, allocations: 14.84 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.1588, allocations: 45.22 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.1588, allocations: 59.73 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1588, allocations: 3.031 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.1589, allocations: 43.77 kB / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.159, allocations: 23.36 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.159, allocations: 13.88 kB / 446.2 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1591, allocations: 103.9 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1591, allocations: 0 / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1591, allocations: 0 / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1591, allocations: 2.719 kB / 446.3 MB, free: 43.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003026/0.1594, allocations: 337.8 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1595, allocations: 10.66 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.1595, allocations: 17.67 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1596, allocations: 137.5 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1596, allocations: 5.312 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1596, allocations: 6.578 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.1597, allocations: 53.48 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1597, allocations: 4.125 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1597, allocations: 7.469 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1598, allocations: 2.656 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.1598, allocations: 24.23 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.16, allocations: 233.5 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.515e-05/0.1601, allocations: 48.08 kB / 447.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.1601, allocations: 16.95 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1601, allocations: 2.812 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.1601, allocations: 40.52 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1601, allocations: 0 / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.1607, allocations: 224.6 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1607, allocations: 51.41 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1608, allocations: 209.8 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.1608, allocations: 29.7 kB / 447.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1608, allocations: 113 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1608, allocations: 22.61 kB / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1609, allocations: 28.34 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.789e-05/0.1609, allocations: 327.7 kB / 448.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.1609, allocations: 25.45 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.161, allocations: 24.88 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.161, allocations: 60.25 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.161, allocations: 2.875 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.1611, allocations: 108.7 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1611, allocations: 5.875 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1612, allocations: 3.422 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1612, allocations: 0 / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.1612, allocations: 16.78 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1612, allocations: 0 / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.1612, allocations: 7.469 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1613, allocations: 3.047 kB / 448.4 MB, free: 41.84 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 (8): * Single equations (assignments): 8 * 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 4.706e-05/0.1613, allocations: 141 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.1613, allocations: 13.88 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1615, allocations: 122.3 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1615, allocations: 2.812 kB / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1615, allocations: 0 / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1615, allocations: 0 / 448.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1617, allocations: 343.6 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1617, allocations: 0 / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.1617, allocations: 25.02 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1617, allocations: 2.656 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1617, allocations: 3.188 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1617, allocations: 2.625 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1617, allocations: 0 / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1619, allocations: 204.8 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.1619, allocations: 9.547 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1619, allocations: 4 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.1619, allocations: 6.781 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1619, allocations: 13.14 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1619, allocations: 0 / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.162, allocations: 166 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.162, allocations: 7.875 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.1622, allocations: 21.62 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006712/0.1628, allocations: 488.4 kB / 450 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.163, allocations: 62.72 kB / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.163, allocations: 0 / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.163, allocations: 35.78 kB / 450.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1632, allocations: 23.39 kB / 450.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.1635, allocations: 292.6 kB / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.1636, allocations: 99.48 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1636, allocations: 18.53 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1636, allocations: 0 / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of Templates: time 0.002136/0.1658, allocations: 1.817 MB / 452.3 MB, free: 40.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.653796136379242]