Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001847/0.001847, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001713/0.001713, allocations: 161.7 kB / 24.27 MB, free: 168 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.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3832/0.3832, allocations: 32.79 MB / 293.9 MB, free: 1.199 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.326e-05, allocations: 6.25 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004694/0.004727, allocations: 1.693 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.006533, allocations: 0.553 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.006591, allocations: 3.938 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.006835, allocations: 51.73 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.007209, allocations: 95.53 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.007906, allocations: 175.5 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.008142, allocations: 95.73 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.008224, allocations: 8.234 kB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.008342, allocations: 51.88 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.00845, allocations: 35.91 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.00847, allocations: 4 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.008636, allocations: 55.84 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.008701, allocations: 27.92 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.008753, allocations: 23.91 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.009032, allocations: 107.6 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.009036, allocations: 0 / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009037, allocations: 0 / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.009041, allocations: 0 / 378.2 MB, free: 1.98 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.0006575/0.009698, allocations: 341.6 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.009731, allocations: 8.031 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.009792, allocations: 20.84 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.01, allocations: 137.6 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.01001, allocations: 8.375 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.01003, allocations: 4.375 kB / 378.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.01024, allocations: 70.16 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01026, allocations: 4.188 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.01027, allocations: 4.125 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.01028, allocations: 3.984 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.01047, allocations: 39.97 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.01088, allocations: 252.5 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.01109, allocations: 70.52 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.01117, allocations: 28.95 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01118, allocations: 3.938 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01121, allocations: 38.56 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.01121, allocations: 0 / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.01275, allocations: 424.9 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.01279, allocations: 51.41 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.01301, allocations: 179.2 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01304, allocations: 25.7 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.01312, allocations: 100.1 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.01316, allocations: 35.7 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.01323, allocations: 25.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.01344, allocations: 326.8 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.0136, allocations: 64.52 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01375, allocations: 51.95 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.01407, allocations: 128.7 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01407, allocations: 0 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004125/0.01448, allocations: 173.5 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01449, allocations: 4 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.01449, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01451, allocations: 4 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01464, allocations: 27.97 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01464, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.0147, allocations: 7.984 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01471, allocations: 8 kB / 380.9 MB, free: 15.19 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.0001263/0.01484, allocations: 133.7 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.01489, allocations: 23.89 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.01535, allocations: 190.7 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01536, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01536, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.01536, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/0.01611, allocations: 447.6 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01611, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01624, allocations: 23.98 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01625, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01626, allocations: 4 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01626, allocations: 3.938 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01626, allocations: 3.938 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.01672, allocations: 285.1 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.01674, allocations: 7.953 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.01676, allocations: 11.98 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01687, allocations: 7.938 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.0169, allocations: 7.984 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01691, allocations: 11.98 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.01704, allocations: 138.3 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01704, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01732, allocations: 24 kB / 382.2 MB, free: 13.81 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.002172/0.01949, allocations: 0.4952 MB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.01984, allocations: 123.8 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01984, allocations: 4 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.02001, allocations: 71.83 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.0204, allocations: 19.98 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.02108, allocations: 310.6 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.0212, allocations: 100.9 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.428e-05/0.02128, allocations: 24.47 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.02133, allocations: 20.5 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02133, allocations: 4 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.004806/0.02614, allocations: 1.656 MB / 385 MB, free: 11.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.971556802978739]