Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009114/0.0009114, 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.0009003/0.0009003, allocations: 174.4 kB / 24.92 MB, free: 8.723 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.9573/0.9573, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.2324/0.2324, allocations: 34.26 MB / 296.1 MB, free: 0.6094 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.798e-05, allocations: 2.969 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00191/0.001928, allocations: 1.636 MB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003119, allocations: 1.29 MB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.003165, allocations: 4 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.003353, allocations: 31.7 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.003575, allocations: 87.55 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.003759, allocations: 111.6 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003873, allocations: 80.33 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.003942, allocations: 7.984 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.003997, allocations: 35.91 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.004075, allocations: 19.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004088, allocations: 7.984 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.004193, allocations: 83.89 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.004228, allocations: 19.91 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.004248, allocations: 11.94 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.00441, allocations: 131.6 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004412, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004412, allocations: 4 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.004415, allocations: 0 / 328.8 MB, free: 4.098 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.000294/0.004709, allocations: 313.6 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.004735, allocations: 8.031 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.00476, allocations: 4.938 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.004874, allocations: 129.7 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004882, allocations: 384 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.004898, allocations: 4.375 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.004992, allocations: 98.34 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005, allocations: 192 / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005007, allocations: 4.125 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005013, allocations: 8 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.00503, allocations: 4 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.005214, allocations: 167 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.005337, allocations: 37.44 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.005352, allocations: 12.86 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.005365, allocations: 0 / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005383, allocations: 34.56 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.005385, allocations: 3.984 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003486/0.005733, allocations: 82.06 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.005763, allocations: 85.11 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.005846, allocations: 144.3 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005856, allocations: 29.69 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.005883, allocations: 92.08 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.005897, allocations: 15.78 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.005923, allocations: 21.7 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.005988, allocations: 318.8 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.005998, allocations: 7.984 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.006024, allocations: 39.42 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.006051, allocations: 31.84 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006051, allocations: 4.031 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.031e-05/0.006102, allocations: 49.62 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.006112, allocations: 8 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.006115, allocations: 0 / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006126, allocations: 0 / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.00616, allocations: 19.86 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006163, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.006181, allocations: 4 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.006184, allocations: 0 / 330.6 MB, free: 2.16 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 4.921e-05/0.006233, allocations: 116.7 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.006252, allocations: 15.92 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.006323, allocations: 50.16 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006326, allocations: 3.984 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006327, allocations: 0 / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00633, allocations: 0 / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.006497, allocations: 214.8 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006498, allocations: 3.938 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.006521, allocations: 8 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006523, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.006526, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006527, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006529, allocations: 7.984 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.454e-05/0.006593, allocations: 151.7 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.006603, allocations: 15.89 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.006612, allocations: 0 / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.006644, allocations: 7.984 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.006661, allocations: 0 / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.006664, allocations: 0 / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.006694, allocations: 34.02 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006694, allocations: 4 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.006842, allocations: 39.86 kB / 331.2 MB, free: 1.441 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.001219/0.00806, allocations: 0.6252 MB / 331.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.008129, allocations: 28.78 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008131, allocations: 0 / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.008146, allocations: 16.98 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.008279, allocations: 27.86 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.008505, allocations: 166.5 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.008536, allocations: 61.98 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.00857, allocations: 19.97 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.008625, allocations: 63.36 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008625, allocations: 3.938 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of Templates: time 0.003327/0.01195, allocations: 1.992 MB / 334.2 MB, free: 14.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.874551155138761]