Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009497/0.0009497, allocations: 80.8 kB / 21.49 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.001636/0.001636, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9583/0.9583, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2651/0.2651, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.45e-05, allocations: 8.422 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003021/0.003055, allocations: 1.631 MB / 324.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.00392, allocations: 0.5374 MB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.003981, allocations: 3.938 kB / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.004206, allocations: 15.86 kB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.00452, allocations: 91.53 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.004831, allocations: 111.6 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004974, allocations: 71.7 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.005064, allocations: 15.98 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.005125, allocations: 23.92 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.005181, allocations: 15.92 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.005195, allocations: 4 kB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.005264, allocations: 35.97 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.005308, allocations: 15.92 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.005333, allocations: 8.562 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.005471, allocations: 75.73 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.005475, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005476, allocations: 7.938 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.00548, allocations: 0 / 325.9 MB, free: 7.023 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.0003451/0.005825, allocations: 285.6 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005862, allocations: 12.03 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.005892, allocations: 4.938 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.006026, allocations: 141.6 kB / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.006034, allocations: 384 / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.006055, allocations: 8.359 kB / 326.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.00615, allocations: 58.94 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006159, allocations: 192 / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.006168, allocations: 12.12 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.006174, allocations: 0 / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.006193, allocations: 7.938 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.006455, allocations: 163.2 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.006594, allocations: 29.39 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.00661, allocations: 12.94 kB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.006631, allocations: 0 / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.006659, allocations: 38.5 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.00666, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002817/0.006942, allocations: 89.48 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.006973, allocations: 59.34 kB / 326.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.007061, allocations: 151.5 kB / 326.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.00707, allocations: 25.7 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.0071, allocations: 96.05 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.007118, allocations: 15.89 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.007146, allocations: 17.7 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.007228, allocations: 318.8 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.007242, allocations: 4 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.007253, allocations: 7.984 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.007284, allocations: 23.67 kB / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007285, allocations: 4 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.625e-05/0.007341, allocations: 53.56 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007354, allocations: 4 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00736, allocations: 0 / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007372, allocations: 0 / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.007421, allocations: 8 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007425, allocations: 4 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.007442, allocations: 3.984 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.007446, allocations: 256 / 327.5 MB, free: 5.238 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.138e-05/0.007507, allocations: 116.7 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.007524, allocations: 11.94 kB / 327.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.007628, allocations: 66.06 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00763, allocations: 0 / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007631, allocations: 4 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007634, allocations: 0 / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.007837, allocations: 218.7 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007839, allocations: 0 / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.007876, allocations: 11.98 kB / 327.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007878, allocations: 0 / 327.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.007883, allocations: 0 / 327.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.007886, allocations: 11.94 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007887, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.8e-05/0.007975, allocations: 147.5 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.007985, allocations: 3.953 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.007996, allocations: 4 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.008025, allocations: 3.938 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.008055, allocations: 8.266 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.00806, allocations: 0 / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.008099, allocations: 35.66 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008099, allocations: 0 / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.008239, allocations: 15.94 kB / 328.2 MB, free: 4.531 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.001123/0.009362, allocations: 0.503 MB / 328.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.00945, allocations: 28.72 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.009454, allocations: 0 / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.009472, allocations: 16.98 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009645, allocations: 15.98 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.01, allocations: 187.1 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.01004, allocations: 66.53 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.01007, allocations: 11.98 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.01012, allocations: 59.36 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01012, allocations: 0 / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of Templates: time 0.003088/0.01321, allocations: 1.261 MB / 330.3 MB, free: 2.613 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.9133941028267145]