Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000963/0.000963, allocations: 85.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009648/0.0009648, allocations: 162.8 kB / 24.82 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.886e-05, allocations: 2.875 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002105/0.002124, allocations: 1.693 MB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003335, allocations: 1.312 MB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.003392, allocations: 4 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.003574, allocations: 27.78 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.003825, allocations: 87.5 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.004079, allocations: 179.5 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.004195, allocations: 75.7 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.004278, allocations: 19.97 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.004337, allocations: 35.91 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.004415, allocations: 27.91 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.004429, allocations: 8 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.004542, allocations: 91.88 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.004587, allocations: 23.92 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.004611, allocations: 23.84 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.00479, allocations: 131.6 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004794, allocations: 11.98 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004794, allocations: 0 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004798, allocations: 0 / 383 MB, free: 14.01 MB / 362.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.0003763/0.005175, allocations: 435.9 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.005211, allocations: 8.031 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.005244, allocations: 12.89 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005375, allocations: 144.4 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.005383, allocations: 4.375 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.005399, allocations: 384 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.005524, allocations: 112 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005533, allocations: 192 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.00554, allocations: 384 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005546, allocations: 384 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.005573, allocations: 19.86 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.005831, allocations: 268.4 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.005883, allocations: 39.06 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.005902, allocations: 19.77 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.005922, allocations: 7.922 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.005943, allocations: 33.39 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005944, allocations: 4 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002882/0.006232, allocations: 117.4 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.00626, allocations: 77.11 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.006357, allocations: 196.2 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006368, allocations: 25.7 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.006414, allocations: 150.8 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.006435, allocations: 27.78 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.006465, allocations: 31.3 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.006567, allocations: 0.4923 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.00658, allocations: 4 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.006612, allocations: 57.06 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.006647, allocations: 27.67 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00665, allocations: 7.922 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.853e-05/0.006728, allocations: 61.59 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.00674, allocations: 11.98 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.006743, allocations: 32 / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.006753, allocations: 4 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.00681, allocations: 15.98 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.006812, allocations: 320 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.006835, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006841, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.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 5.785e-05/0.006899, allocations: 156.6 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.006921, allocations: 19.83 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.007023, allocations: 86.36 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007025, allocations: 4 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007026, allocations: 4 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.007028, allocations: 0 / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.007239, allocations: 318 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.007241, allocations: 3.938 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.007278, allocations: 15.98 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007279, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.007284, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007285, allocations: 4 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007286, allocations: 0 / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.007647, allocations: 207.9 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007658, allocations: 19.88 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.007669, allocations: 4 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.007707, allocations: 7.938 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.007733, allocations: 7.984 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007736, allocations: 3.938 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.007785, allocations: 147.2 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007785, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.00796, allocations: 39.88 kB / 386.4 MB, free: 10.29 MB / 362.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.0009104/0.00887, allocations: 492 kB / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.008949, allocations: 35.66 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00895, allocations: 0 / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.008974, allocations: 27.61 kB / 386.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.009159, allocations: 27.91 kB / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.009418, allocations: 204.8 kB / 387.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.009454, allocations: 67.34 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.009495, allocations: 17.02 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.009561, allocations: 86.19 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009561, allocations: 0 / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of Templates: time 0.006851/0.01641, allocations: 2.217 MB / 389.5 MB, free: 7.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.0375769650563598]