Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001001/0.001001, 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.001186/0.001186, 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 1.059/1.059, 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.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.1761/0.1761, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.495e-05, allocations: 6.25 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002143/0.002168, allocations: 1.682 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003181, allocations: 1.278 MB / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.003232, allocations: 0 / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.003415, allocations: 31.77 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.003657, allocations: 91.44 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.003855, allocations: 127.6 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.003977, allocations: 75.75 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.004077, allocations: 8 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.00414, allocations: 43.84 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.004239, allocations: 30.7 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.004254, allocations: 8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.004368, allocations: 103.8 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.004425, allocations: 15.92 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.004454, allocations: 11.98 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004624, allocations: 139.5 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004627, allocations: 0 / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004628, allocations: 0 / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004632, allocations: 0 / 380.9 MB, free: 21.91 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.0003314/0.004963, allocations: 439.9 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.005003, allocations: 11.98 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.005039, allocations: 8.891 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.005155, allocations: 132.5 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.005164, allocations: 4.375 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.005182, allocations: 16.3 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005289, allocations: 108 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005298, allocations: 192 / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005308, allocations: 20.06 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005314, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.005335, allocations: 4 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.005531, allocations: 260.3 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.005585, allocations: 35.05 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.005601, allocations: 19.62 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.005619, allocations: 96 / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.005638, allocations: 45.39 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005639, allocations: 0 / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000345/0.005984, allocations: 121.4 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.006009, allocations: 77.11 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.006083, allocations: 192.1 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.00609, allocations: 29.7 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.006118, allocations: 142.8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.006137, allocations: 31.75 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.006165, allocations: 27.34 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.006208, allocations: 0.4923 MB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.006221, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.006247, allocations: 53.06 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.006279, allocations: 35.83 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.00628, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.124e-05/0.006351, allocations: 69.58 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006363, allocations: 8 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006367, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.006375, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.006442, allocations: 20.02 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.006445, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.006469, allocations: 7.984 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.006474, allocations: 4 kB / 383.3 MB, free: 19.3 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.144e-05/0.006526, allocations: 160.5 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.00655, allocations: 15.89 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.006648, allocations: 66.45 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00665, allocations: 4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006652, allocations: 3.938 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006654, allocations: 4 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.006848, allocations: 321.9 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006849, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.006889, allocations: 16.27 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006891, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006896, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006898, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.006899, allocations: 3.984 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.795e-05/0.006977, allocations: 215.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.006986, allocations: 11.89 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.006997, allocations: 0 / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.007035, allocations: 15.98 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.007059, allocations: 4 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.007063, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.189e-05/0.007095, allocations: 148.9 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007095, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.007284, allocations: 43.86 kB / 384.3 MB, free: 18.21 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.0009365/0.008221, allocations: 494.8 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.008316, allocations: 35.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.008318, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.008341, allocations: 23.62 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.008547, allocations: 26.77 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.008852, allocations: 195.1 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.008879, allocations: 67.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.008923, allocations: 15.97 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.008984, allocations: 90.19 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008985, allocations: 0 / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003654/0.01264, allocations: 2.199 MB / 387.4 MB, free: 15.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.2383807552978396]