Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.0009611/0.0009611, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001158/0.001158, allocations: 169.4 kB / 24.91 MB, free: 8.766 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.9485/0.9485, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2579/0.2579, allocations: 34.25 MB / 296.1 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.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.522e-05, allocations: 4.031 kB / 325.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.00328/0.003305, allocations: 1.641 MB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005098, allocations: 1.293 MB / 328.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.00516, allocations: 4 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.005402, allocations: 23.73 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.005768, allocations: 87.55 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.006102, allocations: 107.7 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.006263, allocations: 80.31 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.006355, allocations: 7.938 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.006436, allocations: 35.91 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006537, allocations: 27.91 kB / 328.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.006554, allocations: 8 kB / 328.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.006723, allocations: 87.88 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.00677, allocations: 11.92 kB / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.006798, allocations: 15.94 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.007035, allocations: 139.5 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007039, allocations: 0 / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007039, allocations: 0 / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.007043, allocations: 0 / 328.8 MB, free: 4.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003864/0.007429, allocations: 301.7 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.007464, allocations: 12.03 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.0075, allocations: 4.938 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.007658, allocations: 141.6 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.007668, allocations: 384 / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.00769, allocations: 384 / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.007829, allocations: 98.36 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.007839, allocations: 192 / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.007848, allocations: 4.125 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.007854, allocations: 0 / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.007879, allocations: 4 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.008135, allocations: 171 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.008288, allocations: 37.45 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.008307, allocations: 12.86 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.008324, allocations: 4 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.008347, allocations: 30.56 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.008348, allocations: 0 / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003185/0.008667, allocations: 86.06 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.008709, allocations: 81.09 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.008828, allocations: 146.7 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.008842, allocations: 25.7 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.008879, allocations: 96.02 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.008898, allocations: 11.91 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.008937, allocations: 29.69 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.009025, allocations: 314.8 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.009044, allocations: 7.984 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.009085, allocations: 43.42 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.144e-05/0.009137, allocations: 19.67 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009138, allocations: 0 / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.74e-05/0.009226, allocations: 58.09 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009241, allocations: 4 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.009248, allocations: 4 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009261, allocations: 3.938 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.00932, allocations: 20.02 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.009324, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.009353, allocations: 3.984 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.00936, allocations: 4 kB / 330.6 MB, free: 2.203 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 (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 6.794e-05/0.009428, allocations: 116.6 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.00946, allocations: 11.92 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.009574, allocations: 54.14 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.009577, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009579, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009582, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.009856, allocations: 218.8 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.009859, allocations: 3.938 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.009911, allocations: 8 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.009914, allocations: 0 / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00992, allocations: 3.984 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.009922, allocations: 4 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009923, allocations: 0 / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.01004, allocations: 143.5 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01006, allocations: 11.89 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01008, allocations: 7.984 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.01014, allocations: 4.188 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.01017, allocations: 4 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01018, allocations: 4 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.01023, allocations: 41.83 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01023, allocations: 0 / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01049, allocations: 35.88 kB / 331.2 MB, free: 1.48 MB / 298.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.001555/0.01204, allocations: 0.6254 MB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.473e-05/0.01213, allocations: 28.78 kB / 331.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01213, allocations: 0 / 331.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.01215, allocations: 16.86 kB / 331.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01235, allocations: 19.92 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.01267, allocations: 166.5 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.01271, allocations: 67.34 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.01276, allocations: 12.23 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.01284, allocations: 71.3 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01284, allocations: 0 / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of Templates: time 0.003564/0.0164, allocations: 1.993 MB / 334.2 MB, free: 14.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.8511826037429273]