Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0008789/0.0008789, 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.004902/0.004902, allocations: 160 kB / 24.7 MB, free: 9.43 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.8293/0.8293, allocations: 177.1 MB / 205 MB, free: 5.727 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.2251/0.2251, allocations: 34.25 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.73e-05, allocations: 2.281 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.1688/0.1688, allocations: 1.61 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006078/0.1694, allocations: 0.5223 MB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1695, allocations: 0 / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.1697, allocations: 91.59 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1699, allocations: 105.6 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.1701, allocations: 88.98 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1702, allocations: 92.84 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.1703, allocations: 13.53 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.1704, allocations: 49.06 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.1705, allocations: 57.12 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1705, allocations: 3.125 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.1705, allocations: 44 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.1706, allocations: 22.94 kB / 446.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.1706, allocations: 16.02 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1707, allocations: 101.7 kB / 446.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1707, allocations: 0 / 446.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1707, allocations: 0 / 446.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1707, allocations: 2.031 kB / 446.3 MB, free: 43.41 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.000314/0.1711, allocations: 343.6 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1711, allocations: 10.59 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1711, allocations: 14.12 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1712, allocations: 140.2 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.1713, allocations: 4.844 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1713, allocations: 3.875 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.1714, allocations: 54.5 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1714, allocations: 3.031 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1714, allocations: 4.125 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1714, allocations: 3.141 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/0.1714, allocations: 27.73 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.1716, allocations: 237 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.1717, allocations: 44.7 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.1717, allocations: 28.64 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1718, allocations: 0 / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.1718, allocations: 36.45 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1718, allocations: 0 / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005123/0.1723, allocations: 219.2 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.1723, allocations: 57.47 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1724, allocations: 212 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.1724, allocations: 25.7 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.1724, allocations: 112.5 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1725, allocations: 21.81 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.1725, allocations: 21.06 kB / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.811e-05/0.1725, allocations: 332.3 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.1725, allocations: 21.86 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.1726, allocations: 21.73 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.1726, allocations: 69.19 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1727, allocations: 0.625 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001013/0.1728, allocations: 104.8 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1728, allocations: 6.25 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1728, allocations: 2.406 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1728, allocations: 0 / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.1728, allocations: 16.53 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1728, allocations: 0 / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.1729, allocations: 14.95 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1729, allocations: 3.047 kB / 448.4 MB, free: 41.78 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 5.031e-05/0.1729, allocations: 137.4 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1729, allocations: 13.25 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.1731, allocations: 127.7 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1731, allocations: 2.906 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1731, allocations: 0 / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1731, allocations: 0 / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1733, allocations: 341.7 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1733, allocations: 2.906 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1734, allocations: 17.53 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1734, allocations: 3.188 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1734, allocations: 7.188 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1734, allocations: 6.781 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1734, allocations: 0 / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1735, allocations: 204.6 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1735, allocations: 6.734 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1735, allocations: 7.266 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.1735, allocations: 5.5 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.1736, allocations: 9.672 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1736, allocations: 6.938 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.383e-05/0.1736, allocations: 160.1 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1736, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.1738, allocations: 17.69 kB / 449.5 MB, free: 41.01 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.0006468/0.1744, allocations: 0.4916 MB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1746, allocations: 62.31 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1746, allocations: 0 / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.1746, allocations: 41.81 kB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.1748, allocations: 17.33 kB / 450.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1751, allocations: 286.2 kB / 450.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.1752, allocations: 97.61 kB / 450.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1752, allocations: 20.16 kB / 450.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1752, allocations: 0 / 450.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001875/0.1771, allocations: 1.823 MB / 452.3 MB, free: 40.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.6953267473727465]