Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002618, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002381, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9426/0.9426, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1648/1.107, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1292/0.1292, allocations: 32.79 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02013/0.1494, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.336e-05, allocations: 5.406 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002279/0.002293, allocations: 1.707 MB / 287.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.002956, allocations: 462.6 kB / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.003003, allocations: 8 kB / 288 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.003467, allocations: 491 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.003743, allocations: 267.3 kB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.00409, allocations: 187.4 kB / 289 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004283, allocations: 167.7 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.004356, allocations: 8 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004514, allocations: 167.6 kB / 289.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.004694, allocations: 191.7 kB / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.004712, allocations: 3.938 kB / 289.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.00479, allocations: 35.98 kB / 289.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.004871, allocations: 83.72 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.004908, allocations: 35.75 kB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.005127, allocations: 195.1 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.005137, allocations: 0 / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005137, allocations: 0 / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.005145, allocations: 0 / 289.8 MB, free: 4.422 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.0005377/0.005683, allocations: 0.5915 MB / 290.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005711, allocations: 8.031 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.005756, allocations: 24.92 kB / 290.5 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.005952, allocations: 246 kB / 290.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.00596, allocations: 384 / 290.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.005981, allocations: 16.38 kB / 290.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.006077, allocations: 62.88 kB / 290.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006086, allocations: 192 / 290.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.006095, allocations: 8.125 kB / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.0061, allocations: 0 / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.006123, allocations: 11.98 kB / 290.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.006382, allocations: 203.1 kB / 291 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.00644, allocations: 26.52 kB / 291 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.006458, allocations: 12.86 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.006475, allocations: 4.078 kB / 291 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.006503, allocations: 42.5 kB / 291.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.006504, allocations: 0 / 291.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003372/0.006841, allocations: 117.6 kB / 291.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.00687, allocations: 55.41 kB / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.00726, allocations: 0.5243 MB / 291.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007272, allocations: 25.7 kB / 291.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.00734, allocations: 141.3 kB / 291.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.007366, allocations: 23.78 kB / 292 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.0074, allocations: 29.7 kB / 292 MB, free: 2.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007516, allocations: 354.7 kB / 292.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.007532, allocations: 4 kB / 292.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.007548, allocations: 8 kB / 292.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.007589, allocations: 31.59 kB / 292.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.00759, allocations: 3.938 kB / 292.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.161e-05/0.007681, allocations: 73.59 kB / 292.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007694, allocations: 4 kB / 292.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007697, allocations: 0 / 292.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.007711, allocations: 7.984 kB / 292.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.007785, allocations: 12 kB / 292.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.007789, allocations: 4 kB / 292.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.007828, allocations: 7.984 kB / 292.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007834, allocations: 0 / 292.5 MB, free: 1.605 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 (7): * Single equations (assignments): 7 * 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.006e-05/0.007915, allocations: 120.6 kB / 292.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.007953, allocations: 27.91 kB / 292.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.008082, allocations: 97.48 kB / 292.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.008084, allocations: 0 / 292.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008085, allocations: 0 / 292.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008088, allocations: 0 / 292.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.008381, allocations: 290.6 kB / 293 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008382, allocations: 0 / 293 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.008449, allocations: 12 kB / 293 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.008481, allocations: 39.98 kB / 293.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008484, allocations: 0 / 293.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008491, allocations: 4 kB / 293.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.008493, allocations: 480 / 293.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008494, allocations: 0 / 293.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.00861, allocations: 179.4 kB / 293.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.00863, allocations: 4 kB / 293.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.008695, allocations: 7.984 kB / 293.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.008728, allocations: 8 kB / 293.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.008735, allocations: 4 kB / 293.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.008964, allocations: 283.2 kB / 293.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008964, allocations: 0 / 293.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.009172, allocations: 27.98 kB / 293.6 MB, free: 476 kB / 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 (7): * Single equations (assignments): 7 * 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.001357/0.01053, allocations: 0.5325 MB / 294.1 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.01062, allocations: 28.84 kB / 294.1 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.01063, allocations: 8 kB / 294.1 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.01067, allocations: 28.84 kB / 294.2 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.01092, allocations: 98.8 kB / 294.3 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.01172, allocations: 0.6018 MB / 294.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.982e-05/0.01181, allocations: 123.2 kB / 295 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.01185, allocations: 12.41 kB / 295 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.01192, allocations: 67.36 kB / 295.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01192, allocations: 0 / 295.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004264/0.01618, allocations: 1.58 MB / 296.6 MB, free: 13.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.7877165898680687]