Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00137/0.00137, 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.001523/0.001523, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.9455/0.9455, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2631/0.2631, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.614e-05, allocations: 7.078 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002318/0.002344, allocations: 1.656 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.003177, allocations: 0.5607 MB / 327.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.003238, allocations: 0 / 327.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.003735, allocations: 463.1 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.004122, allocations: 295.1 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.00445, allocations: 167.5 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.004666, allocations: 179.5 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.004749, allocations: 8 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.004866, allocations: 119.8 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.005027, allocations: 203.6 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.005044, allocations: 0 / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.005107, allocations: 27.92 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.005186, allocations: 87.7 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.005223, allocations: 40.17 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005404, allocations: 191.2 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005407, allocations: 0 / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005407, allocations: 0 / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005411, allocations: 0 / 329.2 MB, free: 3.703 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.0004567/0.005868, allocations: 0.5502 MB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.005901, allocations: 8.031 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.005938, allocations: 24.91 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.00612, allocations: 242.1 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.00613, allocations: 4.375 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.00614, allocations: 384 / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/0.006238, allocations: 58.94 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.006244, allocations: 192 / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.006252, allocations: 4.125 kB / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.006259, allocations: 4 kB / 330.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.006277, allocations: 7.938 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.006522, allocations: 199.1 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.147e-05/0.006573, allocations: 26.5 kB / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.006587, allocations: 8.859 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.006604, allocations: 4 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.006632, allocations: 38.56 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006633, allocations: 0 / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001188/0.006752, allocations: 69.67 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.006778, allocations: 51.41 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.007082, allocations: 0.5283 MB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.007092, allocations: 29.7 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.007147, allocations: 145.3 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.007163, allocations: 7.938 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.007186, allocations: 13.72 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.007274, allocations: 358.7 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.007284, allocations: 0 / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.007293, allocations: 4 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.007325, allocations: 31.59 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007327, allocations: 0 / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.946e-05/0.007386, allocations: 53.67 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007398, allocations: 7.938 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007403, allocations: 4 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007416, allocations: 3.984 kB / 331.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.00747, allocations: 8 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.007474, allocations: 0 / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.007499, allocations: 4 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007505, allocations: 4 kB / 331.7 MB, free: 1.062 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 7.277e-05/0.007578, allocations: 116.6 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.0076, allocations: 19.98 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.007711, allocations: 81.08 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007712, allocations: 4 kB / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007714, allocations: 0 / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007718, allocations: 3.984 kB / 331.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.007843, allocations: 129.8 kB / 332 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007844, allocations: 0 / 332 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.007872, allocations: 11.98 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.007874, allocations: 0 / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.007878, allocations: 0 / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00788, allocations: 3.938 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007881, allocations: 3.938 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.075e-05/0.007972, allocations: 163.4 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.007999, allocations: 47.66 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008012, allocations: 0 / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.008047, allocations: 0 / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.008063, allocations: 11.92 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.008066, allocations: 0 / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.008239, allocations: 279.2 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008239, allocations: 0 / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.008372, allocations: 23.95 kB / 332.6 MB, free: 128 kB / 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.0009543/0.009326, allocations: 443.2 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.4e-05/0.00939, allocations: 20.73 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.009397, allocations: 4 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.009406, allocations: 8.859 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.00959, allocations: 26.3 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01017, allocations: 0.5813 MB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.01025, allocations: 123.2 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.01029, allocations: 7.984 kB / 333.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.01035, allocations: 55.38 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01035, allocations: 0 / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003545/0.01389, allocations: 1.291 MB / 335.1 MB, free: 13.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.8483678647316992]