Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001359/0.001359, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001461/0.001461, allocations: 166.9 kB / 24.91 MB, free: 9.152 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.999/0.999, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2571/0.2571, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.6e-05, allocations: 5.438 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002366/0.002392, allocations: 1.717 MB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.003224, allocations: 0.549 MB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.00328, allocations: 0 / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.003573, allocations: 51.75 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.003873, allocations: 99.53 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.004156, allocations: 131.6 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004321, allocations: 87.69 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.004404, allocations: 8.234 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.639e-05/0.00448, allocations: 51.88 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.004559, allocations: 31.91 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.004572, allocations: 8 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.004671, allocations: 51.91 kB / 328.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.004738, allocations: 19.92 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.00476, allocations: 16.44 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004903, allocations: 99.58 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004905, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004906, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.004909, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003388/0.005247, allocations: 309.7 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.005281, allocations: 8.031 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.005309, allocations: 12.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005444, allocations: 149.3 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.005451, allocations: 384 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.005472, allocations: 4.375 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.00558, allocations: 66.69 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.005592, allocations: 0 / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.005599, allocations: 0 / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005606, allocations: 4 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.00564, allocations: 15.92 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.005844, allocations: 172.2 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.006007, allocations: 42.5 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.006025, allocations: 17.02 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006041, allocations: 0 / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.006061, allocations: 30.56 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.006062, allocations: 0 / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004985/0.006561, allocations: 205.9 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.00659, allocations: 51.41 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006696, allocations: 164.2 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006708, allocations: 25.7 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.006741, allocations: 104 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.006766, allocations: 27.7 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.006801, allocations: 33.69 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.006883, allocations: 330.7 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.006898, allocations: 8 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.006914, allocations: 9.094 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.006958, allocations: 41.8 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006959, allocations: 4.062 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.446e-05/0.007043, allocations: 71.69 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.007055, allocations: 8 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007059, allocations: 0 / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007072, allocations: 0 / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.007132, allocations: 23.92 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007137, allocations: 0 / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.007169, allocations: 11.98 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.007177, allocations: 4 kB / 330.1 MB, free: 2.68 MB / 298.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 (11): * Single equations (assignments): 11 * 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 7.109e-05/0.007248, allocations: 120.6 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.007266, allocations: 11.98 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.007389, allocations: 86.33 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00739, allocations: 0 / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007392, allocations: 4 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007396, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.007654, allocations: 272.3 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007656, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.007705, allocations: 27.92 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007707, allocations: 4.062 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.007716, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.00772, allocations: 7.984 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.007723, allocations: 7.922 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.007823, allocations: 177.1 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.007832, allocations: 7.953 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.007847, allocations: 8 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.007888, allocations: 7.984 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.007916, allocations: 11.92 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.007921, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.806e-05/0.007959, allocations: 47.52 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007959, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.008142, allocations: 35.88 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001257/0.009399, allocations: 0.5764 MB / 331.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.00951, allocations: 44.72 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.009514, allocations: 8 kB / 331.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.009553, allocations: 36.77 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.009726, allocations: 22.8 kB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.01012, allocations: 248.4 kB / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01016, allocations: 63.34 kB / 331.9 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.0102, allocations: 20.61 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.01026, allocations: 59.38 kB / 332 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01026, allocations: 0 / 332 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.01361, allocations: 1.688 MB / 333.7 MB, free: 15.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9877771730534732]