Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009434/0.0009434, 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.001147/0.001147, allocations: 170.4 kB / 24.91 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.9498/0.9498, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2401/0.2401, allocations: 32.8 MB / 294.6 MB, free: 1.133 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.626e-05, allocations: 2.969 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003126/0.003152, allocations: 1.624 MB / 324.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.004886, allocations: 1.293 MB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.004949, allocations: 4 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.005188, allocations: 23.8 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.005541, allocations: 91.53 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.005853, allocations: 115.5 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.006008, allocations: 71.81 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.006094, allocations: 8 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.006165, allocations: 35.84 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.00627, allocations: 23.91 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.006286, allocations: 4 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.006457, allocations: 95.81 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.006515, allocations: 11.98 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.006545, allocations: 11.94 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.0068, allocations: 143.5 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.006805, allocations: 0 / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006806, allocations: 0 / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006811, allocations: 0 / 326.8 MB, free: 6.117 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.000449/0.00726, allocations: 301.5 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.007296, allocations: 8.031 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.007332, allocations: 4.938 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.007491, allocations: 129.7 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.007501, allocations: 384 / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.007522, allocations: 4.375 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.007654, allocations: 98.3 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.007663, allocations: 4.188 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.007671, allocations: 4.125 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007678, allocations: 4 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.007703, allocations: 8 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.007935, allocations: 171.8 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.008065, allocations: 37.27 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.008084, allocations: 16.84 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.008099, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.008122, allocations: 34.56 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.008123, allocations: 4 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.008408, allocations: 85.56 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.008446, allocations: 81.11 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.008561, allocations: 142.7 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.008574, allocations: 25.7 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.00861, allocations: 96.06 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.008631, allocations: 15.84 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.008665, allocations: 21.69 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.008754, allocations: 314.8 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.008769, allocations: 4 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.008809, allocations: 55.39 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.008847, allocations: 27.61 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008848, allocations: 0 / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.501e-05/0.008923, allocations: 45.62 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008936, allocations: 8 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.00894, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.008949, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.009, allocations: 11.98 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.009002, allocations: 0 / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.009029, allocations: 4 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.009037, allocations: 7.984 kB / 328.5 MB, free: 4.188 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.752e-05/0.009104, allocations: 120.6 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.009133, allocations: 7.938 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.009245, allocations: 58.45 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.009248, allocations: 4 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009249, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009253, allocations: 3.984 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.009519, allocations: 210.8 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.009522, allocations: 7.938 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.009561, allocations: 8 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.009563, allocations: 0 / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.009568, allocations: 7.938 kB / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.00957, allocations: 0 / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009571, allocations: 0 / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.662e-05/0.009668, allocations: 143.5 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.009682, allocations: 15.89 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.009695, allocations: 3.938 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.009749, allocations: 4 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.009771, allocations: 7.984 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.009775, allocations: 0 / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.009819, allocations: 33.69 kB / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009819, allocations: 4 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.0101, allocations: 43.86 kB / 329.2 MB, free: 3.457 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.001844/0.01194, allocations: 0.6211 MB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.01203, allocations: 24.83 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01203, allocations: 0 / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.01206, allocations: 16.8 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01229, allocations: 31.11 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.01262, allocations: 166.5 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01266, allocations: 63.34 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.01271, allocations: 11.98 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.01279, allocations: 63.36 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01279, allocations: 0 / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004558/0.01735, allocations: 2.015 MB / 332.2 MB, free: 0.7344 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.922994859982282]