Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001078/0.001078, allocations: 80.92 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.001224/0.001224, allocations: 173.9 kB / 24.92 MB, free: 8.727 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2654/0.2654, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.642e-05, allocations: 7.188 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002168/0.002194, allocations: 1.629 MB / 324.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.002895, allocations: 0.5258 MB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.002943, allocations: 0 / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.003133, allocations: 35.72 kB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.003373, allocations: 75.62 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.003646, allocations: 91.62 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003779, allocations: 71.72 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.003856, allocations: 15.97 kB / 325.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.003908, allocations: 23.92 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.003958, allocations: 19.92 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.00397, allocations: 4 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.004039, allocations: 35.91 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.004077, allocations: 15.94 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.004097, allocations: 7.984 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004219, allocations: 71.73 kB / 325.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00422, allocations: 3.938 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004221, allocations: 0 / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.004224, allocations: 0 / 325.9 MB, free: 7.055 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.0002957/0.004519, allocations: 277.7 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.004557, allocations: 16.02 kB / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.004581, allocations: 4.938 kB / 326.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.004698, allocations: 137.6 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.004705, allocations: 4.375 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.004722, allocations: 384 / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.004799, allocations: 58.95 kB / 326.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004807, allocations: 192 / 326.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004815, allocations: 4.125 kB / 326.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.00482, allocations: 4 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.004841, allocations: 11.92 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.005022, allocations: 151.8 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.005135, allocations: 42.61 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.005147, allocations: 4.859 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.005162, allocations: 8 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.00518, allocations: 30.56 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.00518, allocations: 0 / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002362/0.005417, allocations: 81.58 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.005449, allocations: 59.34 kB / 326.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.005535, allocations: 147.1 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.005544, allocations: 25.7 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.005573, allocations: 92.11 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005591, allocations: 19.73 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.005617, allocations: 21.7 kB / 327 MB, free: 5.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.005697, allocations: 326.8 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.005706, allocations: 4 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.005716, allocations: 7.984 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.00574, allocations: 12.86 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.005741, allocations: 0 / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.135e-05/0.005792, allocations: 61.55 kB / 327.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005803, allocations: 4 kB / 327.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.005806, allocations: 0 / 327.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.005815, allocations: 0 / 327.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.00585, allocations: 8 kB / 327.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.005854, allocations: 4 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.005869, allocations: 7.984 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005873, allocations: 0 / 327.5 MB, free: 5.293 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 5.477e-05/0.005928, allocations: 112.7 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.005943, allocations: 8.188 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.006023, allocations: 66.12 kB / 327.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006024, allocations: 0 / 327.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.006026, allocations: 4.219 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006028, allocations: 4 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.006199, allocations: 206.8 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006201, allocations: 3.938 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.006225, allocations: 15.98 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006228, allocations: 3.984 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006231, allocations: 0 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006232, allocations: 0 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006233, allocations: 0 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.006299, allocations: 143.5 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006307, allocations: 15.89 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.006315, allocations: 0 / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.006344, allocations: 7.984 kB / 328 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.006367, allocations: 0 / 328 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.006372, allocations: 12 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.479e-05/0.006397, allocations: 27.66 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006397, allocations: 0 / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.006527, allocations: 27.86 kB / 328.1 MB, free: 4.586 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.0009976/0.007525, allocations: 500 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.252e-05/0.007587, allocations: 24.8 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.00759, allocations: 0 / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.00761, allocations: 28.95 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.007749, allocations: 27.3 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.007989, allocations: 167.2 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.008024, allocations: 59.34 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.008049, allocations: 11.98 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.008096, allocations: 59.36 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008096, allocations: 0 / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of Templates: time 0.002557/0.01065, allocations: 1.235 MB / 330.2 MB, free: 2.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 3.0308164497837424]