Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001323/0.001323, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001255/0.001255, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 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.9551/0.9551, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1449/0.1449, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.753e-05, allocations: 2.312 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002257/0.002275, allocations: 1.607 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.002846, allocations: 335.3 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.002897, allocations: 0 / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.0034, allocations: 455.1 kB / 350.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.003716, allocations: 255.4 kB / 350.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.004052, allocations: 143.7 kB / 350.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004272, allocations: 171.6 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.004362, allocations: 16.16 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.00446, allocations: 111.8 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.004665, allocations: 235.6 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.004687, allocations: 4 kB / 351 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.004753, allocations: 27.91 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.004854, allocations: 87.72 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.004894, allocations: 35.75 kB / 351.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005086, allocations: 187.2 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005088, allocations: 0 / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005089, allocations: 0 / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005093, allocations: 0 / 351.3 MB, free: 5.781 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005398/0.005633, allocations: 0.6893 MB / 352 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.005668, allocations: 8.031 kB / 352 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.005733, allocations: 48.66 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.005924, allocations: 240.9 kB / 352.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005934, allocations: 4.375 kB / 352.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.005944, allocations: 4.375 kB / 352.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.006057, allocations: 54.95 kB / 352.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.006065, allocations: 192 / 352.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.006075, allocations: 3.938 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.006082, allocations: 3.984 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.006114, allocations: 8 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.00651, allocations: 431.6 kB / 352.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.00659, allocations: 31.05 kB / 352.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.006615, allocations: 15.62 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.006634, allocations: 8 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.006653, allocations: 41.38 kB / 352.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006654, allocations: 0 / 352.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001955/0.00685, allocations: 89.38 kB / 353 MB, free: 3.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.006875, allocations: 55.41 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.007324, allocations: 0.6238 MB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.007333, allocations: 25.7 kB / 353.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.007487, allocations: 282.8 kB / 353.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.007507, allocations: 3.953 kB / 353.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.007543, allocations: 23.38 kB / 354 MB, free: 2.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.007677, allocations: 0.5509 MB / 354.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.007696, allocations: 7.984 kB / 354.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.00771, allocations: 4 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.007746, allocations: 15.69 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007749, allocations: 0 / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.736e-05/0.007846, allocations: 93.28 kB / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.007857, allocations: 4 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007862, allocations: 4 kB / 354.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.007875, allocations: 0 / 354.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.007941, allocations: 4 kB / 354.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007944, allocations: 0 / 354.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.007981, allocations: 19.94 kB / 354.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.007986, allocations: 0 / 354.7 MB, free: 2.203 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 (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 5.832e-05/0.008044, allocations: 156.6 kB / 354.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.008093, allocations: 47.66 kB / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.008197, allocations: 85.05 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008199, allocations: 0 / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.0082, allocations: 0 / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.008202, allocations: 0 / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.008449, allocations: 276.5 kB / 355.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.00845, allocations: 0 / 355.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.008483, allocations: 12 kB / 355.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008486, allocations: 3.938 kB / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.00849, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008491, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.008493, allocations: 3.984 kB / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.008611, allocations: 227.7 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.008642, allocations: 43.58 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.00866, allocations: 0 / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.008725, allocations: 7.938 kB / 355.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.008748, allocations: 4.359 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.008752, allocations: 7.984 kB / 355.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.009047, allocations: 426.8 kB / 355.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009047, allocations: 0 / 355.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.009307, allocations: 16 kB / 356 MB, free: 0.8398 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 (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.0006369/0.009944, allocations: 328.8 kB / 356.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.01, allocations: 23.67 kB / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01001, allocations: 0 / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.01002, allocations: 15.69 kB / 356.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01021, allocations: 26.14 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.01066, allocations: 0.5665 MB / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.01073, allocations: 121.9 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.01076, allocations: 11.97 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.01078, allocations: 12.5 kB / 357.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01078, allocations: 0 / 357.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003272/0.01406, allocations: 1.347 MB / 358.4 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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: 3.2406260380521417]