Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009445/0.0009445, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001086/0.001086, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9018/0.9018, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1327/0.1327, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.301e-05, allocations: 7.188 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002796/0.002819, allocations: 1.686 MB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004331, allocations: 1.282 MB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.004391, allocations: 0 / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.004588, allocations: 23.84 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.004931, allocations: 99.41 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.005252, allocations: 123.6 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.005392, allocations: 75.81 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.00548, allocations: 4 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.00556, allocations: 47.83 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.005665, allocations: 31.91 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005682, allocations: 8 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.005844, allocations: 95.75 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.005899, allocations: 19.97 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.005923, allocations: 15.94 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.00616, allocations: 147.5 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006163, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006163, allocations: 0 / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.006167, allocations: 0 / 383 MB, free: 19.72 MB / 314.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.0003665/0.006534, allocations: 428 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006567, allocations: 8.031 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.006613, allocations: 16.89 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.006755, allocations: 132.5 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.006766, allocations: 384 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.006785, allocations: 8.312 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.006931, allocations: 112 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.006944, allocations: 4.188 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006955, allocations: 8.109 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006961, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.006996, allocations: 7.984 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.007242, allocations: 272.3 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.007314, allocations: 38.98 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.007335, allocations: 15.69 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.007351, allocations: 0 / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.007369, allocations: 45.41 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.00737, allocations: 0 / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004003/0.00777, allocations: 113.4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.007794, allocations: 77.11 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.007925, allocations: 192.1 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.007934, allocations: 29.7 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.007967, allocations: 142.8 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.007992, allocations: 31.73 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.008032, allocations: 31.3 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.008076, allocations: 0.4884 MB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.0081, allocations: 7.984 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.008137, allocations: 53.06 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.008193, allocations: 27.67 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008194, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.008299, allocations: 65.58 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.008311, allocations: 8 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008315, allocations: 4.031 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.008324, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.008418, allocations: 19.92 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.008421, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.008464, allocations: 4 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.008472, allocations: 11.98 kB / 385.3 MB, free: 17.12 MB / 314.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.002e-05/0.008522, allocations: 152.6 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.008563, allocations: 15.89 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.008699, allocations: 78.44 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008701, allocations: 4.281 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008703, allocations: 3.938 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008706, allocations: 0 / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.008994, allocations: 314.4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.008996, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.00907, allocations: 19.98 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.009073, allocations: 3.938 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00908, allocations: 0 / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.009082, allocations: 4 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009083, allocations: 80 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.009207, allocations: 227.7 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.009221, allocations: 7.953 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.009237, allocations: 0 / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.009317, allocations: 11.98 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.009347, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.009354, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.009405, allocations: 144.9 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009405, allocations: 0 / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000336/0.009741, allocations: 47.86 kB / 386.3 MB, free: 16.03 MB / 314.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.001455/0.0112, allocations: 485.7 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01131, allocations: 51.56 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01132, allocations: 3.938 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.01135, allocations: 19.69 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01165, allocations: 26.77 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01201, allocations: 198.2 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.01204, allocations: 63.34 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.0121, allocations: 11.98 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.01219, allocations: 86.19 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01219, allocations: 0 / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.004855/0.01704, allocations: 2.205 MB / 389.5 MB, free: 13.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.91950357099995]