Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0008668/0.0008668, allocations: 83.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.004287/0.004287, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8447/0.8447, allocations: 177.1 MB / 205 MB, free: 5.723 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.2279/0.2279, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.383e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.1676/0.1676, allocations: 1.583 MB / 445 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1688, allocations: 1.243 MB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.1689, allocations: 4.625 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1691, allocations: 21.91 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.1694, allocations: 95.69 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1696, allocations: 83.89 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1697, allocations: 76.95 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1698, allocations: 6.938 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1699, allocations: 34.41 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.17, allocations: 26.22 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.17, allocations: 6.469 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1701, allocations: 90.62 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1701, allocations: 16.88 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.1702, allocations: 14.83 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1703, allocations: 144.5 kB / 446.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1703, allocations: 4.469 kB / 446.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1704, allocations: 0 / 446.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1704, allocations: 2.938 kB / 446.9 MB, free: 43.03 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.0003839/0.1707, allocations: 326.1 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1708, allocations: 8.781 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.1708, allocations: 13.7 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.171, allocations: 130 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.171, allocations: 4.375 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.171, allocations: 3.438 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1711, allocations: 90.16 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1711, allocations: 4.141 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1711, allocations: 11.78 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1711, allocations: 4.781 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.1712, allocations: 22.75 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.1714, allocations: 210.7 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1717, allocations: 51.66 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.1717, allocations: 10.27 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1717, allocations: 6.875 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.1717, allocations: 37.36 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.1717, allocations: 0 / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000442/0.1722, allocations: 145.9 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1722, allocations: 77.11 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1723, allocations: 150.5 kB / 448.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.1723, allocations: 25.7 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1724, allocations: 98.11 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1724, allocations: 18.7 kB / 448.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.1724, allocations: 16.72 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.1725, allocations: 320.8 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.1725, allocations: 21.52 kB / 448.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.1725, allocations: 57.3 kB / 448.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.1726, allocations: 41.59 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1726, allocations: 3.938 kB / 448.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.967e-05/0.1727, allocations: 93.19 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1727, allocations: 5.438 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1727, allocations: 0 / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1728, allocations: 0 / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.222e-05/0.1728, allocations: 13.8 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1728, allocations: 0 / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.1728, allocations: 9.188 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1728, allocations: 2.688 kB / 448.9 MB, free: 41.3 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 (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 4.825e-05/0.1729, allocations: 124.4 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.1729, allocations: 6.922 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1731, allocations: 94.7 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1731, allocations: 0 / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1731, allocations: 0 / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1731, allocations: 0 / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.1733, allocations: 292.2 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1733, allocations: 3.938 kB / 449.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1733, allocations: 25.77 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1733, allocations: 0 / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1733, allocations: 0 / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1733, allocations: 0 / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1733, allocations: 2.938 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.1734, allocations: 176.4 kB / 449.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.1734, allocations: 9.938 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1734, allocations: 6.188 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.1735, allocations: 6.594 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1735, allocations: 9.859 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1735, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.513e-05/0.1736, allocations: 112.6 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1736, allocations: 0 / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.1738, allocations: 39.06 kB / 449.8 MB, free: 40.59 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 (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.0008552/0.1746, allocations: 0.5342 MB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1748, allocations: 48.8 kB / 450.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1748, allocations: 0 / 450.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.1748, allocations: 25.86 kB / 450.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1751, allocations: 12.98 kB / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.1754, allocations: 190.5 kB / 450.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.1754, allocations: 79.89 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.1754, allocations: 23.95 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1754, allocations: 0 / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of Templates: time 0.002591/0.178, allocations: 1.961 MB / 452.7 MB, free: 39.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 4.743262435309589]