Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001286/0.001286, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009873/0.0009873, allocations: 169 kB / 24.91 MB, free: 9.207 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.9853/0.9853, 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.2611/0.2611, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.609e-05, allocations: 5.547 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002692/0.002718, allocations: 1.636 MB / 324.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.003495, allocations: 0.5374 MB / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.003547, allocations: 4 kB / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.004006, allocations: 451 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.004422, allocations: 295.2 kB / 326.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.004717, allocations: 127.6 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.00498, allocations: 171.6 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.005065, allocations: 16.55 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.005198, allocations: 119.8 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.00538, allocations: 195.7 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.0054, allocations: 7.984 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.761e-05/0.005467, allocations: 20 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.005551, allocations: 75.72 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.005583, allocations: 43.73 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005785, allocations: 195.2 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005787, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005789, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005793, allocations: 0 / 327.1 MB, free: 5.789 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.0004953/0.006288, allocations: 0.5423 MB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.006322, allocations: 12.03 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.006365, allocations: 20.91 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.006569, allocations: 246 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.006583, allocations: 8.312 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.006597, allocations: 8.375 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.006718, allocations: 50.95 kB / 328 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.00673, allocations: 4.172 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.006739, allocations: 8.062 kB / 328 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.006746, allocations: 4 kB / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.006764, allocations: 4 kB / 328 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.007007, allocations: 152.4 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.007077, allocations: 34.5 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.007094, allocations: 8.844 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.007123, allocations: 4 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.007145, allocations: 34.56 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.007146, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000138/0.007284, allocations: 69.62 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.007314, allocations: 51.41 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.007661, allocations: 0.5244 MB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.007675, allocations: 25.7 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.007734, allocations: 141.3 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.007754, allocations: 15.89 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.007779, allocations: 13.72 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.007869, allocations: 358.7 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.00788, allocations: 4 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.00789, allocations: 4 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.007917, allocations: 16.83 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007919, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.724e-05/0.007986, allocations: 61.61 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.008002, allocations: 7.938 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.008008, allocations: 0 / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.008025, allocations: 0 / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.008096, allocations: 11.98 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008099, allocations: 0 / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.008123, allocations: 3.938 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.008129, allocations: 4 kB / 329.5 MB, free: 3.199 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 (3): * Single equations (assignments): 3 * 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.762e-05/0.008197, allocations: 116.7 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.008221, allocations: 23.97 kB / 329.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.008327, allocations: 81.03 kB / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008329, allocations: 0 / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.008331, allocations: 3.938 kB / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008334, allocations: 0 / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.008472, allocations: 137.8 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008473, allocations: 3.938 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.008515, allocations: 7.984 kB / 329.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008518, allocations: 4 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.008524, allocations: 8 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.008526, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008528, allocations: 3.938 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.008635, allocations: 155.9 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.00866, allocations: 35.72 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008672, allocations: 0 / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.00871, allocations: 4 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.008722, allocations: 7.969 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.008726, allocations: 7.984 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.008898, allocations: 287.2 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.008898, allocations: 0 / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.009036, allocations: 20 kB / 330.4 MB, free: 2.254 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 (3): * Single equations (assignments): 3 * 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.0009362/0.009972, allocations: 433.5 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.01004, allocations: 12.86 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.01005, allocations: 4 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.01007, allocations: 16.83 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.01026, allocations: 28.61 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.01091, allocations: 0.5734 MB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.01098, allocations: 119.2 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.902e-05/0.011, allocations: 4 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.01106, allocations: 59.36 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01106, allocations: 4 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of Templates: time 0.003793/0.01485, allocations: 1.266 MB / 332.9 MB, free: 15.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.929081477224827]