Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001137/0.001137, 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.001261/0.001261, allocations: 173.9 kB / 25 MB, free: 8.34 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.9928/0.9928, 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.2465/0.2465, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.161e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003874/0.003906, allocations: 1.657 MB / 377.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.005009, allocations: 0.5454 MB / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.005091, allocations: 3.938 kB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.005486, allocations: 123.6 kB / 378.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.005885, allocations: 135.4 kB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.00629, allocations: 107.7 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.006541, allocations: 99.67 kB / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.00668, allocations: 19.98 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.0068, allocations: 55.86 kB / 378.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.006983, allocations: 87.83 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.007007, allocations: 0 / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.007131, allocations: 47.92 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.007194, allocations: 27.92 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.007241, allocations: 19.84 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.007468, allocations: 103.6 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007471, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007472, allocations: 0 / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.007477, allocations: 4 kB / 379 MB, free: 1.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005692/0.008046, allocations: 467.7 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.008094, allocations: 8.031 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.008158, allocations: 16.84 kB / 379.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.008369, allocations: 152.4 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.008386, allocations: 4.375 kB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.008411, allocations: 8.312 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.008568, allocations: 62.94 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.008581, allocations: 192 / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008594, allocations: 4.125 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.008603, allocations: 4 kB / 379.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.008647, allocations: 11.98 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.009095, allocations: 307.7 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.009191, allocations: 43.06 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.009228, allocations: 19.61 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.009253, allocations: 4 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.009282, allocations: 33.39 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.009283, allocations: 0 / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008065/0.01009, allocations: 181.3 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01014, allocations: 59.33 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01038, allocations: 274.8 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.0104, allocations: 25.7 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01051, allocations: 174.7 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.01054, allocations: 27.75 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.01059, allocations: 27.38 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01075, allocations: 0.5039 MB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.01078, allocations: 16 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.01081, allocations: 11.98 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.01088, allocations: 39.91 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01089, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.01102, allocations: 85.52 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.01105, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01105, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01107, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01117, allocations: 19.98 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01118, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.01121, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.01122, allocations: 4 kB / 381.6 MB, free: 15.18 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 (8): * Single equations (assignments): 8 * 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 9.086e-05/0.01131, allocations: 164.5 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.01135, allocations: 15.91 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.01153, allocations: 95.06 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01154, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01154, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01154, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.01197, allocations: 392.9 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.01197, allocations: 0 / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.01204, allocations: 19.98 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01204, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01205, allocations: 8.031 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01205, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01206, allocations: 4 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01224, allocations: 243.3 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.01225, allocations: 7.953 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01227, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.01234, allocations: 4 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.01238, allocations: 11.92 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01239, allocations: 4 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.01252, allocations: 192.1 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01252, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01281, allocations: 20 kB / 382.8 MB, free: 13.93 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 (8): * Single equations (assignments): 8 * 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.001348/0.01416, allocations: 442.5 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01429, allocations: 47.59 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0143, allocations: 0 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.01434, allocations: 31.61 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01467, allocations: 23.94 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.01518, allocations: 271.2 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.01524, allocations: 79.31 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.0153, allocations: 21.02 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.01534, allocations: 12.5 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01534, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.004309/0.01965, allocations: 1.439 MB / 385.1 MB, free: 11.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.22157764993608]