Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001602/0.001602, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001422/0.001422, allocations: 163.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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.514/1.514, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2247/0.2247, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.075e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003229/0.00326, allocations: 1.645 MB / 444.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004444, allocations: 0.5375 MB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.004506, allocations: 4 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.004762, allocations: 27.78 kB / 444.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.005085, allocations: 91.53 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.00538, allocations: 99.62 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.005567, allocations: 83.77 kB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.005688, allocations: 27.91 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.005781, allocations: 43.84 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.005882, allocations: 31.89 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005903, allocations: 4 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.006019, allocations: 47.92 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.006085, allocations: 19.91 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.006127, allocations: 15.94 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.006351, allocations: 111.6 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.006358, allocations: 3.984 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006359, allocations: 0 / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006364, allocations: 0 / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006787/0.007042, allocations: 333.7 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.007087, allocations: 8.031 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.007137, allocations: 12.89 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.007356, allocations: 136.2 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.00737, allocations: 8.375 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.0074, allocations: 8.328 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.007592, allocations: 74.17 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.007611, allocations: 4.172 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007624, allocations: 4.125 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.007632, allocations: 7.984 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.007764, allocations: 39.91 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.008203, allocations: 252.4 kB / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.008373, allocations: 70.42 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.00844, allocations: 20.84 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.008471, allocations: 8 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.008507, allocations: 30.56 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.008508, allocations: 0 / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.009662, allocations: 297.3 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.009735, allocations: 59.41 kB / 446.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.009939, allocations: 165.8 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.009967, allocations: 33.64 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.01006, allocations: 96.12 kB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.01011, allocations: 47.59 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.01017, allocations: 25.7 kB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01035, allocations: 326.8 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.01046, allocations: 35.92 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01057, allocations: 35.97 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.01078, allocations: 96.77 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01079, allocations: 0 / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002926/0.01108, allocations: 133.6 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.0111, allocations: 8 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.0111, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01112, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01126, allocations: 27.92 kB / 447.8 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01127, allocations: 8.172 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.01132, allocations: 15.98 kB / 447.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01134, allocations: 4 kB / 447.9 MB, free: 24 kB / 366.1 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 (13): * Single equations (assignments): 13 * 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.1758/0.1871, allocations: 118 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.1872, allocations: 10.22 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.1876, allocations: 159.1 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1876, allocations: 1.656 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1876, allocations: 0 / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1876, allocations: 4.359 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1882, allocations: 399.2 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1882, allocations: 4.688 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1883, allocations: 31.81 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1883, allocations: 2.219 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1883, allocations: 5.438 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1883, allocations: 1.219 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1883, allocations: 1.031 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1885, allocations: 235.4 kB / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.1886, allocations: 13.77 kB / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1886, allocations: 5.078 kB / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.1887, allocations: 6.328 kB / 448.8 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.1887, allocations: 15.66 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1887, allocations: 4.828 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.174e-05/0.1888, allocations: 128.1 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1888, allocations: 0 / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1891, allocations: 25.81 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001783/0.1909, allocations: 493.9 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.1911, allocations: 98.5 kB / 449.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1911, allocations: 0 / 449.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1912, allocations: 47.77 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1915, allocations: 22.7 kB / 449.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.192, allocations: 255.5 kB / 449.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.1921, allocations: 93.44 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1922, allocations: 26.39 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.1922, allocations: 18.34 kB / 450 MB, free: 18.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1922, allocations: 0 / 450 MB, free: 18.1 MB / 366.1 MB Notification: Performance of Templates: time 0.005061/0.1973, allocations: 1.52 MB / 451.6 MB, free: 17.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.968930471688509]