Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001785/0.001785, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001417/0.001417, allocations: 168.8 kB / 25.61 MB, free: 8.902 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.011/1.011, allocations: 177.1 MB / 206 MB, free: 4.5 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.1426/0.1426, allocations: 32.8 MB / 295.4 MB, free: 15.48 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.702e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003216/0.003253, allocations: 1.629 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.004205, allocations: 0.5181 MB / 379.4 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.004284, allocations: 3.938 kB / 379.4 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.004529, allocations: 15.86 kB / 379.4 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.004895, allocations: 83.55 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.005198, allocations: 95.62 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.005375, allocations: 67.77 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.005492, allocations: 15.86 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.005567, allocations: 31.91 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.005639, allocations: 15.92 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005656, allocations: 4 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.005742, allocations: 27.98 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.00579, allocations: 11.94 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.005818, allocations: 19.91 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.005991, allocations: 63.75 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005995, allocations: 0 / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005996, allocations: 0 / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006001, allocations: 4 kB / 379.9 MB, free: 22.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003515/0.006352, allocations: 416.1 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.006392, allocations: 15.97 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.006432, allocations: 8.891 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006599, allocations: 142.4 kB / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.006612, allocations: 384 / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.00663, allocations: 4.375 kB / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.00675, allocations: 54.95 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006761, allocations: 4.125 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.006769, allocations: 4.125 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006774, allocations: 4 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.0068, allocations: 15.92 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.007033, allocations: 240.5 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.007189, allocations: 43.03 kB / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.007208, allocations: 11.69 kB / 380.8 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.007225, allocations: 3.938 kB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.00725, allocations: 45.33 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.007253, allocations: 0 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003724/0.007625, allocations: 93.53 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.00765, allocations: 51.41 kB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.00774, allocations: 196.6 kB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.007747, allocations: 25.7 kB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.007786, allocations: 146.8 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.00781, allocations: 19.8 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.007847, allocations: 27.36 kB / 381.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.007912, allocations: 0.4884 MB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.007929, allocations: 4 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.007945, allocations: 7.984 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.007984, allocations: 19.69 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007987, allocations: 4 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.221e-05/0.008079, allocations: 65.52 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008092, allocations: 4 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.008097, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.008107, allocations: 4 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.008172, allocations: 8 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.008174, allocations: 0 / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.008199, allocations: 4.234 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.008206, allocations: 8 kB / 382 MB, free: 20.62 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 (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.164e-05/0.008268, allocations: 156.6 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.0083, allocations: 11.89 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.008433, allocations: 74.08 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008435, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.008438, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008441, allocations: 3.938 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.008694, allocations: 298 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008696, allocations: 0 / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.008747, allocations: 8 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008749, allocations: 3.938 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.008755, allocations: 3.984 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008757, allocations: 0 / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008759, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.008866, allocations: 207.8 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.008877, allocations: 7.953 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.008888, allocations: 288 / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.008951, allocations: 8 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.008979, allocations: 3.984 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008985, allocations: 4 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.844e-05/0.009033, allocations: 139.2 kB / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009033, allocations: 4 kB / 382.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.009309, allocations: 15.98 kB / 383 MB, free: 19.62 MB / 314.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.001094/0.0104, allocations: 387.8 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.0105, allocations: 31.67 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01051, allocations: 0 / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.01053, allocations: 23.67 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01087, allocations: 27.84 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.01125, allocations: 168.5 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.0113, allocations: 71.2 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.01134, allocations: 4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.0114, allocations: 78.19 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0114, allocations: 4 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of Templates: time 0.003823/0.01522, allocations: 1.269 MB / 385 MB, free: 17.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.102175749372691]