Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001459/0.001459, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00172/0.00172, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9723/0.9723, allocations: 177.1 MB / 206 MB, free: 4.473 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.1437/0.1437, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.314e-05, allocations: 6.25 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001973/0.001996, allocations: 1.673 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.002632, allocations: 0.5336 MB / 379.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.002693, allocations: 0 / 379.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.002938, allocations: 95.67 kB / 379.6 MB, free: 23.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.003163, allocations: 119.4 kB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.003352, allocations: 99.67 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.00347, allocations: 103.7 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.003552, allocations: 19.98 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.003607, allocations: 51.88 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.003699, allocations: 59.86 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003716, allocations: 4 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.003803, allocations: 43.92 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.003846, allocations: 27.86 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.003871, allocations: 19.92 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004009, allocations: 115.5 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00401, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004011, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004015, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002892/0.004304, allocations: 471.7 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.004338, allocations: 11.98 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.004372, allocations: 16.84 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004475, allocations: 156.4 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.004485, allocations: 12.31 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.004504, allocations: 8.312 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.004593, allocations: 62.94 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004601, allocations: 4.188 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004608, allocations: 12.11 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004614, allocations: 7.984 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.00464, allocations: 11.98 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.00485, allocations: 292.2 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.004919, allocations: 55.03 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.004939, allocations: 19.61 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.004954, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.004969, allocations: 33.39 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.00497, allocations: 4 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004372/0.005407, allocations: 221.9 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.005425, allocations: 51.41 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.005548, allocations: 243.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.005556, allocations: 29.7 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.005592, allocations: 162.8 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.005615, allocations: 43.62 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.005644, allocations: 35.36 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.005692, allocations: 0.5078 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.005708, allocations: 8 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.005725, allocations: 15.98 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.005769, allocations: 55.59 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.00577, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.44e-05/0.005854, allocations: 91.97 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005865, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005869, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.005877, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.005942, allocations: 23.98 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005945, allocations: 4 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.005966, allocations: 19.86 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005972, allocations: 0 / 382.9 MB, free: 19.75 MB / 314.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 (13): * Single equations (assignments): 13 * 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 4.56e-05/0.006017, allocations: 164.5 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.006044, allocations: 15.91 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.006168, allocations: 123.1 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.00617, allocations: 4 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.006172, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006176, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.006407, allocations: 401.4 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006408, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.006464, allocations: 23.98 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006467, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.006474, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006476, allocations: 4 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.006477, allocations: 3.938 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.006674, allocations: 263.4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.006688, allocations: 7.953 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.006703, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.006751, allocations: 8 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.006779, allocations: 19.94 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006785, allocations: 4 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.006833, allocations: 173.6 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006833, allocations: 0 / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.007013, allocations: 27.92 kB / 384.1 MB, free: 18.45 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0007752/0.007789, allocations: 446.9 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.007874, allocations: 67.52 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007876, allocations: 0 / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.007904, allocations: 39.61 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.008105, allocations: 30.77 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.008378, allocations: 262.6 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.008408, allocations: 83.19 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.008442, allocations: 16.42 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.00849, allocations: 86.27 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00849, allocations: 4 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of Templates: time 0.002727/0.01122, allocations: 1.743 MB / 386.9 MB, free: 15.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.2171373767778277]