Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001587/0.001587, allocations: 88.33 kB / 20.95 MB, free: 3.578 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.001889/0.001889, allocations: 161.3 kB / 24.27 MB, free: 276 kB / 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 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3596/0.3596, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.724e-05, allocations: 9.688 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003964/0.004001, allocations: 1.669 MB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.005521, allocations: 0.5569 MB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.005611, allocations: 4 kB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.005933, allocations: 71.61 kB / 377.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.006349, allocations: 95.58 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.00686, allocations: 175.5 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.007094, allocations: 99.67 kB / 377.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.007203, allocations: 12.23 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.00731, allocations: 47.88 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.007428, allocations: 43.88 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.007448, allocations: 8 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.007576, allocations: 51.92 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.007652, allocations: 19.92 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.007708, allocations: 23.91 kB / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.007969, allocations: 115.5 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007973, allocations: 4 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007974, allocations: 4 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.007979, allocations: 0 / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006259/0.008605, allocations: 341.6 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.008646, allocations: 8.031 kB / 378.6 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.008711, allocations: 12.89 kB / 378.6 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.008964, allocations: 145.6 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.008983, allocations: 12.31 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.009009, allocations: 384 / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.00922, allocations: 62.23 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.009239, allocations: 12.12 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.00926, allocations: 12.12 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.009265, allocations: 0 / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.009426, allocations: 35.97 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.009979, allocations: 252.5 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.01032, allocations: 62.48 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.01041, allocations: 32.95 kB / 379.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01044, allocations: 96 / 379.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.01047, allocations: 46.44 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.01047, allocations: 0 / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00171/0.01218, allocations: 421.4 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.01223, allocations: 51.41 kB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.01247, allocations: 198.8 kB / 379.9 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.01249, allocations: 29.7 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.0126, allocations: 100.1 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.01265, allocations: 39.69 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.01271, allocations: 25.72 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.01293, allocations: 326.8 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.0131, allocations: 55.89 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01325, allocations: 55.95 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.01356, allocations: 132.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01357, allocations: 4 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004024/0.01397, allocations: 165.5 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01399, allocations: 8 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01399, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01401, allocations: 4 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01413, allocations: 27.92 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01414, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.01421, allocations: 11.98 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.01422, allocations: 4 kB / 380.9 MB, free: 15.11 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 (11): * Single equations (assignments): 11 * 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 0.0001336/0.01435, allocations: 133.8 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.0144, allocations: 15.91 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.01491, allocations: 194.3 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.01492, allocations: 7.938 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01493, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01493, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.01591, allocations: 435.7 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01591, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.01603, allocations: 35.97 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01604, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01605, allocations: 4 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.01606, allocations: 3.938 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01606, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.01665, allocations: 281.5 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.01668, allocations: 15.91 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.01672, allocations: 12 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.01685, allocations: 11.92 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.01691, allocations: 11.98 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01692, allocations: 4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.01709, allocations: 143.2 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01709, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01739, allocations: 27.94 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002362/0.01976, allocations: 0.4919 MB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.02018, allocations: 127.8 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02018, allocations: 0 / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.02036, allocations: 67.89 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.02081, allocations: 28.14 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.02159, allocations: 322.5 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.02173, allocations: 96.8 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.02183, allocations: 36.58 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.02189, allocations: 24.48 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02189, allocations: 0 / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005601/0.02749, allocations: 1.636 MB / 385 MB, free: 11.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.854907704051584]