Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001399/0.001399, allocations: 80.31 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.00153/0.00153, allocations: 167.5 kB / 25.61 MB, free: 8.547 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.9378/0.9378, allocations: 177.1 MB / 206 MB, free: 4.461 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.1321/0.1321, allocations: 34.26 MB / 296.9 MB, free: 13.88 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.123e-05, allocations: 2.312 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.001589/0.001601, allocations: 1.685 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.002472, allocations: 1.309 MB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.002524, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.002706, allocations: 27.77 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.002927, allocations: 91.48 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.003166, allocations: 171.5 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.003277, allocations: 91.69 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.003353, allocations: 12 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.003401, allocations: 39.91 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.003477, allocations: 31.89 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.00349, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.003588, allocations: 91.88 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.003632, allocations: 19.92 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.003653, allocations: 19.92 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.003799, allocations: 139.5 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.003801, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.003801, allocations: 4 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.003804, allocations: 3.938 kB / 383 MB, free: 19.61 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.0002698/0.004074, allocations: 439.9 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.004101, allocations: 12.03 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.004131, allocations: 8.891 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.004227, allocations: 136.5 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.004235, allocations: 4.375 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.00425, allocations: 4.375 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.004341, allocations: 112 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004348, allocations: 192 / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.004356, allocations: 8.125 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.00436, allocations: 4 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.004382, allocations: 11.92 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.004571, allocations: 264.4 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.004627, allocations: 39.11 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.004642, allocations: 15.69 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.004654, allocations: 0 / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.004669, allocations: 53.2 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.00467, allocations: 0 / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002782/0.004949, allocations: 117.5 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.004971, allocations: 81.11 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.005038, allocations: 195.7 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.005044, allocations: 29.7 kB / 384.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.005072, allocations: 146.8 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.005089, allocations: 19.78 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.005115, allocations: 31.36 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.005154, allocations: 0.4884 MB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.005167, allocations: 7.984 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.005192, allocations: 57.06 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.005224, allocations: 27.67 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.005225, allocations: 4 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.488e-05/0.005289, allocations: 73.52 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.005298, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005302, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.00531, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.005366, allocations: 15.98 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005368, allocations: 4 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.005392, allocations: 4 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.005397, allocations: 4.031 kB / 385.4 MB, free: 16.99 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 3.671e-05/0.005433, allocations: 168.5 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.005455, allocations: 11.89 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.099e-05/0.005546, allocations: 74.39 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005547, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005549, allocations: 288 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005551, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.005716, allocations: 326.3 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005716, allocations: 0 / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.005751, allocations: 19.97 kB / 386 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.005753, allocations: 8 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.005758, allocations: 4 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005759, allocations: 0 / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005759, allocations: 3.938 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.005827, allocations: 219.8 kB / 386.2 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.005835, allocations: 7.953 kB / 386.2 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.005845, allocations: 0 / 386.2 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.005883, allocations: 11.98 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.005905, allocations: 3.938 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.005908, allocations: 4 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.005937, allocations: 148.9 kB / 386.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005937, allocations: 4 kB / 386.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.006113, allocations: 47.86 kB / 386.5 MB, free: 15.88 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.0009085/0.007021, allocations: 475.9 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.0071, allocations: 47.62 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007101, allocations: 4 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.007123, allocations: 23.62 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.007304, allocations: 30.7 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.007537, allocations: 198.7 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.067e-05/0.007557, allocations: 67.2 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.007595, allocations: 16.72 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.007649, allocations: 90.19 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00765, allocations: 0 / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.002961/0.01061, allocations: 2.233 MB / 389.6 MB, free: 12.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.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.9978439258411527]