Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.00146/0.00146, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001714/0.001714, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.423/1.423, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.2048/0.2048, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.517e-05, allocations: 2.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003415/0.00344, allocations: 1.646 MB / 441.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004788, allocations: 0.5647 MB / 442.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004895, allocations: 0 / 442.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.005588, allocations: 459.1 kB / 442.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.006192, allocations: 291.2 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.006742, allocations: 186 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.007081, allocations: 171.6 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.007209, allocations: 19.92 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.007426, allocations: 119.8 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.007758, allocations: 235.6 kB / 443.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.007787, allocations: 4 kB / 443.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.007913, allocations: 43.91 kB / 443.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.008036, allocations: 79.72 kB / 443.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.008096, allocations: 39.73 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.008476, allocations: 247.1 kB / 444.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.00848, allocations: 0 / 444.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008482, allocations: 0 / 444.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.008495, allocations: 3.938 kB / 444.2 MB, free: 4.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009161/0.009411, allocations: 0.5776 MB / 444.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.00946, allocations: 8.031 kB / 444.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.009567, allocations: 44.66 kB / 444.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.009997, allocations: 242 kB / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.01001, allocations: 4.375 kB / 445 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.01004, allocations: 4.375 kB / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.01027, allocations: 66.16 kB / 445.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.01029, allocations: 192 / 445.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01031, allocations: 8.062 kB / 445.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01031, allocations: 0 / 445.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01044, allocations: 35.97 kB / 445.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.01111, allocations: 328.4 kB / 445.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01137, allocations: 54.44 kB / 445.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.01144, allocations: 16.94 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01146, allocations: 4 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.0115, allocations: 38.55 kB / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.0115, allocations: 0 / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008276/0.01233, allocations: 236.7 kB / 445.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.01239, allocations: 59.41 kB / 445.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.01347, allocations: 0.8574 MB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.01349, allocations: 29.7 kB / 446.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.01369, allocations: 216 kB / 447 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.01372, allocations: 19.84 kB / 447 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.01376, allocations: 17.72 kB / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01396, allocations: 362.8 kB / 447.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.01404, allocations: 23.92 kB / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.01411, allocations: 19.98 kB / 447.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.01426, allocations: 60.7 kB / 447.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01426, allocations: 4 kB / 447.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002491/0.01451, allocations: 121.4 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01453, allocations: 8 kB / 447.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01454, allocations: 0 / 447.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01456, allocations: 0 / 447.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.01463, allocations: 12.23 kB / 447.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01463, allocations: 4 kB / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.01469, allocations: 4 kB / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.0147, allocations: 4 kB / 447.6 MB, free: 464 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 (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 0.0002157/0.01491, allocations: 222.4 kB / 447.8 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.01498, allocations: 43.72 kB / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.0153, allocations: 141.1 kB / 448 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0153, allocations: 0 / 448 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.0153, allocations: 0 / 448 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01531, allocations: 4 kB / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1887/0.204, allocations: 405.8 kB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.204, allocations: 3.219 kB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.2041, allocations: 12.64 kB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2041, allocations: 0 / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2041, allocations: 9.453 kB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2041, allocations: 1.219 kB / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2041, allocations: 0 / 448.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2044, allocations: 222.2 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.2044, allocations: 34.91 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2045, allocations: 5.75 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.2045, allocations: 4.906 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2046, allocations: 6.172 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.2046, allocations: 5.156 kB / 448.7 MB, free: 21.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006122/0.2052, allocations: 0.6491 MB / 449.4 MB, free: 21.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2052, allocations: 3.312 kB / 449.4 MB, free: 21.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2055, allocations: 28.06 kB / 449.4 MB, free: 21.2 MB / 366.1 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.001513/0.207, allocations: 432.6 kB / 449.8 MB, free: 21.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2072, allocations: 56.78 kB / 449.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2072, allocations: 0 / 449.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.2073, allocations: 29.14 kB / 449.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2077, allocations: 31.5 kB / 449.9 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2087, allocations: 0.8104 MB / 450.7 MB, free: 20.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2089, allocations: 221.8 kB / 451 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.209, allocations: 20.08 kB / 451 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.209, allocations: 13.25 kB / 451 MB, free: 20.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.209, allocations: 0 / 451 MB, free: 20.6 MB / 366.1 MB Notification: Performance of Templates: time 0.005302/0.2143, allocations: 1.349 MB / 452.3 MB, free: 20.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.6466857977211475]