Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001093/0.001093, 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.007023/0.007023, allocations: 160.5 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.8952/0.8952, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.556e-05, allocations: 6.219 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002021/0.002047, allocations: 1.594 MB / 442.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.002692, allocations: 0.518 MB / 443 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.002739, allocations: 0 / 443 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.002918, allocations: 31.72 kB / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.003135, allocations: 79.62 kB / 443.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.003318, allocations: 95.62 kB / 443.2 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.00345, allocations: 67.77 kB / 443.3 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.00354, allocations: 8 kB / 443.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.003591, allocations: 31.91 kB / 443.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003638, allocations: 15.92 kB / 443.3 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.00365, allocations: 0 / 443.3 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.00371, allocations: 35.98 kB / 443.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.003753, allocations: 19.86 kB / 443.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.003777, allocations: 7.938 kB / 443.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.003914, allocations: 91.64 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003916, allocations: 4 kB / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.003917, allocations: 3.938 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003921, allocations: 0 / 443.5 MB, free: 1.109 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.0003545/0.004275, allocations: 309.9 kB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.004309, allocations: 8.031 kB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.004338, allocations: 8.891 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.00446, allocations: 129.6 kB / 443.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.004468, allocations: 4.375 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.004486, allocations: 384 / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004586, allocations: 54.23 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.004596, allocations: 4.188 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.004605, allocations: 4.125 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.00461, allocations: 0 / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.552e-05/0.004665, allocations: 23.92 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.004895, allocations: 216.6 kB / 444.2 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.005046, allocations: 42.56 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.005074, allocations: 20.94 kB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.005094, allocations: 7.875 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.005108, allocations: 34.5 kB / 444.3 MB, free: 152 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.005109, allocations: 4 kB / 444.3 MB, free: 148 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.155/0.1602, allocations: 146 kB / 444.5 MB, free: 46.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1602, allocations: 54.73 kB / 444.5 MB, free: 46.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1604, allocations: 158.7 kB / 444.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1604, allocations: 29.11 kB / 444.7 MB, free: 46.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.1604, allocations: 95.81 kB / 444.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1604, allocations: 14.91 kB / 444.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1605, allocations: 20.64 kB / 444.8 MB, free: 46.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.1605, allocations: 322.9 kB / 445.1 MB, free: 45.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.1606, allocations: 17.52 kB / 445.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.1606, allocations: 22.59 kB / 445.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.1607, allocations: 43.5 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1607, allocations: 0.7188 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.1608, allocations: 85.84 kB / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1608, allocations: 8.062 kB / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1608, allocations: 0 / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1608, allocations: 0 / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.1609, allocations: 13.81 kB / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1609, allocations: 1.906 kB / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.1609, allocations: 6.938 kB / 445.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1609, allocations: 7.688 kB / 445.3 MB, free: 45.95 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 5.301e-05/0.161, allocations: 116.4 kB / 445.5 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.161, allocations: 19.08 kB / 445.5 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.1612, allocations: 90.44 kB / 445.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1612, allocations: 2.562 kB / 445.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1612, allocations: 0 / 445.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1612, allocations: 3.422 kB / 445.6 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1614, allocations: 295.6 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1614, allocations: 6.875 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1615, allocations: 13.2 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1615, allocations: 0 / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1615, allocations: 2.906 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1615, allocations: 3.047 kB / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1615, allocations: 0 / 445.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.818e-05/0.1616, allocations: 186.1 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.1616, allocations: 3.953 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1616, allocations: 3.125 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.1616, allocations: 9.844 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1617, allocations: 7.047 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1617, allocations: 2.75 kB / 446.1 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.1617, allocations: 123.9 kB / 446.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1617, allocations: 0 / 446.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.1619, allocations: 20.84 kB / 446.2 MB, free: 45.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 (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.0006707/0.1626, allocations: 430 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1627, allocations: 46.94 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1627, allocations: 0 / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.1627, allocations: 24.67 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.163, allocations: 18.48 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.1633, allocations: 214.4 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.1634, allocations: 78.33 kB / 447 MB, free: 45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.1634, allocations: 14.38 kB / 447 MB, free: 45 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1634, allocations: 0 / 447 MB, free: 45 MB / 410.7 MB Notification: Performance of Templates: time 0.002135/0.1655, allocations: 1.491 MB / 448.5 MB, free: 44.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.11197045724839]