Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001182/0.001182, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001063/0.001063, allocations: 165.6 kB / 24.99 MB, free: 8.336 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.9956/0.9956, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2631/0.2631, allocations: 32.81 MB / 294.6 MB, free: 1.297 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.Test4,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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.465e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.005589/0.005614, allocations: 1.684 MB / 377.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.006452, allocations: 0.5647 MB / 378.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.006513, allocations: 0 / 378.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.006795, allocations: 99.61 kB / 378.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.00706, allocations: 107.5 kB / 378.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.01034, allocations: 119.6 kB / 378.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.01052, allocations: 103.7 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.01063, allocations: 23.97 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.01071, allocations: 55.88 kB / 378.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.01081, allocations: 59.86 kB / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.01083, allocations: 4 kB / 378.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.01092, allocations: 47.92 kB / 378.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.01097, allocations: 27.86 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.01101, allocations: 27.91 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.01119, allocations: 107.5 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.0112, allocations: 4 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.0112, allocations: 0 / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.0112, allocations: 0 / 379 MB, free: 1.945 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004502/0.01165, allocations: 463.8 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01169, allocations: 8.031 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.01174, allocations: 24.83 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.01191, allocations: 160.2 kB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.01192, allocations: 4.375 kB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.01194, allocations: 12.36 kB / 379.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.01208, allocations: 66.94 kB / 379.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01209, allocations: 4.188 kB / 379.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.0121, allocations: 8.125 kB / 379.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.01211, allocations: 4 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.01216, allocations: 19.98 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.01254, allocations: 339.5 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.01263, allocations: 55.05 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.01266, allocations: 15.69 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01268, allocations: 3.984 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.0127, allocations: 41.39 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.0127, allocations: 4 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.003716/0.01642, allocations: 241.5 kB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01645, allocations: 59.39 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01662, allocations: 242.7 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01664, allocations: 29.7 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.01672, allocations: 166.8 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.01676, allocations: 43.78 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.01681, allocations: 35.38 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01693, allocations: 0.504 MB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.01697, allocations: 23.98 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.01701, allocations: 28.05 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.01709, allocations: 55.42 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01709, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000146/0.01724, allocations: 97.59 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01725, allocations: 11.94 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01725, allocations: 0 / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01727, allocations: 0 / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.01736, allocations: 27.92 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01737, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.0174, allocations: 19.92 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.01741, allocations: 4 kB / 381.8 MB, free: 14.96 MB / 362.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 7.133e-05/0.01748, allocations: 156.6 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.01752, allocations: 19.91 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.01772, allocations: 127 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01772, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01773, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01773, allocations: 4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.01816, allocations: 440.8 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01816, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.01823, allocations: 23.98 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01823, allocations: 0 / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01825, allocations: 11.94 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01825, allocations: 3.938 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01825, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.01853, allocations: 267.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.01854, allocations: 11.91 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.01856, allocations: 3.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.01862, allocations: 11.98 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.01865, allocations: 16.02 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01866, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.01875, allocations: 185.1 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01875, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003243/0.022, allocations: 27.92 kB / 383.1 MB, free: 13.59 MB / 362.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.001086/0.02308, allocations: 431.3 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.02323, allocations: 59.66 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02323, allocations: 0 / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.261e-05/0.02329, allocations: 43.61 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.02358, allocations: 30.62 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.02403, allocations: 288.5 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.02409, allocations: 79.33 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.02416, allocations: 16.48 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.0242, allocations: 24.55 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0242, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.009863/0.03407, allocations: 1.624 MB / 385.7 MB, free: 11.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.1566467399243265]