Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001114/0.001114, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002736, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001114/0.001114, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002419, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9864/0.9864, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1393/1.126, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1487/0.1487, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02199/0.1707, allocations: 12.32 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.391e-05, allocations: 6.25 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002963/0.002987, allocations: 1.697 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.003665, allocations: 363.1 kB / 269.5 MB, free: 484 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.003733, allocations: 0 / 269.5 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.004324, allocations: 498.9 kB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.004665, allocations: 267.4 kB / 270.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.00505, allocations: 167.5 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.005303, allocations: 167.6 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.005393, allocations: 12.17 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.005584, allocations: 151.7 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.005784, allocations: 191.7 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005803, allocations: 4 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.005883, allocations: 31.88 kB / 270.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.005959, allocations: 83.72 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.005999, allocations: 31.75 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.006224, allocations: 195.2 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.006236, allocations: 0 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006237, allocations: 0 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.006245, allocations: 7.938 kB / 271.2 MB, free: 14.7 MB / 282.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.0005358/0.006781, allocations: 0.5838 MB / 271.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.006814, allocations: 8.031 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.006867, allocations: 20.92 kB / 271.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.007107, allocations: 246 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.007118, allocations: 4.375 kB / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.007139, allocations: 384 / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.007257, allocations: 58.94 kB / 272.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007266, allocations: 4.125 kB / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.007275, allocations: 7.938 kB / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007281, allocations: 4 kB / 272.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.007306, allocations: 4 kB / 272.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.007608, allocations: 203.1 kB / 272.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.007761, allocations: 37.33 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.00778, allocations: 8.859 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.007798, allocations: 3.938 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.00782, allocations: 30.56 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.007821, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003294/0.008151, allocations: 93.67 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.008179, allocations: 55.41 kB / 272.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.008613, allocations: 0.5322 MB / 273.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.008631, allocations: 25.7 kB / 273.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.008706, allocations: 137.3 kB / 273.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.008733, allocations: 19.88 kB / 273.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.008767, allocations: 13.72 kB / 273.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.008885, allocations: 358.7 kB / 273.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.008901, allocations: 12 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.008914, allocations: 3.984 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.00895, allocations: 23.69 kB / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008951, allocations: 0 / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.349e-05/0.009044, allocations: 73.53 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.00906, allocations: 4 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.009064, allocations: 4 kB / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009078, allocations: 0 / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.009142, allocations: 11.98 kB / 273.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.009145, allocations: 0 / 273.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.009183, allocations: 7.953 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.009189, allocations: 0 / 273.8 MB, free: 11.96 MB / 282.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 8.393e-05/0.009273, allocations: 116.7 kB / 273.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.009313, allocations: 23.91 kB / 273.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.009467, allocations: 89.17 kB / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009469, allocations: 0 / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009471, allocations: 4.281 kB / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009474, allocations: 0 / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.009791, allocations: 274.9 kB / 274.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009794, allocations: 4 kB / 274.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.009845, allocations: 19.92 kB / 274.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.009878, allocations: 31.72 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.009881, allocations: 0 / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.009886, allocations: 0 / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009888, allocations: 4 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.009892, allocations: 7.984 kB / 274.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.01, allocations: 155.5 kB / 274.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01003, allocations: 8 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.01009, allocations: 3.984 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.01012, allocations: 4 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.01013, allocations: 0 / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.01039, allocations: 283.2 kB / 274.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01039, allocations: 0 / 274.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.01064, allocations: 27.92 kB / 274.8 MB, free: 10.87 MB / 282.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.001567/0.01221, allocations: 0.5426 MB / 275.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01231, allocations: 28.83 kB / 275.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.01232, allocations: 4 kB / 275.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.01236, allocations: 16.84 kB / 275.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.01273, allocations: 97.3 kB / 275.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.0138, allocations: 0.5665 MB / 276.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.0139, allocations: 119.3 kB / 276.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.01396, allocations: 16.34 kB / 276.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.01403, allocations: 55.38 kB / 276.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01403, allocations: 0 / 276.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of Templates: time 0.005233/0.01926, allocations: 1.456 MB / 277.7 MB, free: 7.895 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.79915030580014]