Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001146/0.001146, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001233/0.001233, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9866/0.9866, allocations: 177 MB / 204.9 MB, free: 5.59 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.2661/0.2661, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.377e-05, allocations: 6.25 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002153/0.002177, allocations: 1.69 MB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.002932, allocations: 0.5602 MB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.002987, allocations: 0 / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.003439, allocations: 451 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.003795, allocations: 291.3 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.004011, allocations: 131.5 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004198, allocations: 175.6 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.004297, allocations: 15.84 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.004399, allocations: 115.8 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.004585, allocations: 247.6 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.004603, allocations: 4 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.004676, allocations: 35.92 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.004766, allocations: 83.66 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.004803, allocations: 39.73 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.005013, allocations: 187.2 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005015, allocations: 3.938 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005016, allocations: 0 / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00502, allocations: 0 / 382.8 MB, free: 14.08 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.0005604/0.00558, allocations: 0.6971 MB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.005631, allocations: 12.03 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.005697, allocations: 48.66 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.005906, allocations: 244.8 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.005918, allocations: 8.375 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.005944, allocations: 384 / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.006076, allocations: 62.94 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006087, allocations: 192 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.006099, allocations: 384 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.006107, allocations: 384 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.006144, allocations: 19.92 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.006564, allocations: 427.5 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.006733, allocations: 43.05 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.006753, allocations: 11.69 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.006774, allocations: 4 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.006796, allocations: 41.41 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006797, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000362/0.007159, allocations: 184.8 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.007279, allocations: 51.41 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.007678, allocations: 0.6315 MB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.00769, allocations: 33.7 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.007826, allocations: 286.8 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.007847, allocations: 11.84 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.007878, allocations: 23.38 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.008035, allocations: 0.5508 MB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.008053, allocations: 4 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.00807, allocations: 8 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.008109, allocations: 31.61 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.00811, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.772e-05/0.008207, allocations: 89.36 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.008224, allocations: 8 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.008229, allocations: 4 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.008247, allocations: 7.922 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.008295, allocations: 8 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.008301, allocations: 0 / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.008328, allocations: 8.281 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.008334, allocations: 0 / 386.3 MB, free: 10.33 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 (5): * Single equations (assignments): 5 * 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 7.967e-05/0.008413, allocations: 160.6 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.008448, allocations: 47.66 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.0086, allocations: 101.5 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.008604, allocations: 8 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008607, allocations: 0 / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.008612, allocations: 0 / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.00896, allocations: 469.3 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.008962, allocations: 0 / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.008995, allocations: 11.98 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008997, allocations: 0 / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.009003, allocations: 0 / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.009004, allocations: 0 / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009006, allocations: 4 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.009122, allocations: 247.6 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.009144, allocations: 35.72 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.009159, allocations: 4 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.009197, allocations: 7.984 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.009225, allocations: 0 / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.009229, allocations: 4 kB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002375/0.009467, allocations: 426.8 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009467, allocations: 0 / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.009635, allocations: 23.94 kB / 387.8 MB, free: 8.734 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 (5): * Single equations (assignments): 5 * 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.0008356/0.01047, allocations: 380.5 kB / 388.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.284e-05/0.01056, allocations: 31.61 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01057, allocations: 0 / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.01059, allocations: 23.69 kB / 388.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01083, allocations: 34.08 kB / 388.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.01141, allocations: 0.5705 MB / 388.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.384e-05/0.01148, allocations: 115.3 kB / 389 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.01151, allocations: 19.97 kB / 389 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.01154, allocations: 12.5 kB / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01154, allocations: 0 / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of Templates: time 0.003707/0.01525, allocations: 1.371 MB / 390.4 MB, free: 6.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.427815852686763]