Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0007875/0.0007875, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.00184, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007191/0.0007191, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009416/0.001661, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1198/1.141, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3215/0.3215, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03169/0.3532, allocations: 12.53 MB / 289.3 MB, free: 8.688 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.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 3.984 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.099e-05, allocations: 4.703 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002656/0.002687, allocations: 1.754 MB / 292.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.003555, allocations: 0.5903 MB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.003619, allocations: 0 / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.004094, allocations: 0.5004 MB / 293.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.004462, allocations: 307.1 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.00484, allocations: 181.3 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005057, allocations: 183.7 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.005138, allocations: 20.09 kB / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.005294, allocations: 163.8 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005458, allocations: 203.6 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.005473, allocations: 4 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.005568, allocations: 51.91 kB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.005641, allocations: 83.72 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.005679, allocations: 39.69 kB / 294.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.005893, allocations: 207.1 kB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.005904, allocations: 0 / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005905, allocations: 0 / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.005916, allocations: 3.984 kB / 294.9 MB, free: 4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006115/0.006528, allocations: 0.6154 MB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.006566, allocations: 12.03 kB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.006611, allocations: 24.91 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.006836, allocations: 250 kB / 295.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.006847, allocations: 4.375 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.006867, allocations: 4.375 kB / 295.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.00698, allocations: 62.94 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006991, allocations: 192 / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.007, allocations: 4.125 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007007, allocations: 4 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.007038, allocations: 11.92 kB / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.007321, allocations: 219.1 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.007466, allocations: 30.66 kB / 296.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.007483, allocations: 12.8 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.00751, allocations: 4.125 kB / 296.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.007534, allocations: 42.48 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.007536, allocations: 0 / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005425/0.008078, allocations: 221.7 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.008111, allocations: 59.34 kB / 296.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.008426, allocations: 0.5321 MB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.00844, allocations: 25.7 kB / 297 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.008502, allocations: 141.3 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.008531, allocations: 39.62 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.008566, allocations: 29.69 kB / 297.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.00867, allocations: 354.7 kB / 297.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.008688, allocations: 15.98 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.008705, allocations: 8 kB / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.008755, allocations: 52.52 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.008756, allocations: 0 / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.857e-05/0.008844, allocations: 82.47 kB / 297.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008856, allocations: 4 kB / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008861, allocations: 3.984 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.008871, allocations: 4 kB / 297.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.008941, allocations: 31.91 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.008945, allocations: 3.984 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.008974, allocations: 4 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008981, allocations: 4 kB / 297.8 MB, free: 0.9492 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 (11): * Single equations (assignments): 11 * 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.623e-05/0.009058, allocations: 120.6 kB / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.009088, allocations: 27.97 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.009229, allocations: 118.4 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00923, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009232, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009235, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.009525, allocations: 336.2 kB / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009526, allocations: 0 / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.009585, allocations: 43.97 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.009608, allocations: 31.72 kB / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.009611, allocations: 4 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.009617, allocations: 0 / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.009618, allocations: 4.125 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.009623, allocations: 7.938 kB / 298.5 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.00974, allocations: 201.1 kB / 298.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.009755, allocations: 0 / 298.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.009798, allocations: 4 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.009844, allocations: 19.91 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.009849, allocations: 8 kB / 298.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.01002, allocations: 279.2 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.01002, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.01017, allocations: 32 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001516/0.01168, allocations: 0.6243 MB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.01178, allocations: 52.69 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.01179, allocations: 8 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.01182, allocations: 28.78 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.01206, allocations: 57.66 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.01293, allocations: 0.6314 MB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.01302, allocations: 131.2 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.01307, allocations: 20.47 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.01313, allocations: 63.36 kB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01313, allocations: 0 / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004294/0.01742, allocations: 1.943 MB / 302.5 MB, free: 12.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.1438505854457617]