Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.0007958/0.0007958, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00316/0.00316, allocations: 162.2 kB / 24.7 MB, free: 9.426 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 0.9093/0.9093, allocations: 177.1 MB / 205 MB, free: 5.738 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.2545/0.2545, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 4 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.523e-05, allocations: 4.109 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002261/0.002286, allocations: 1.588 MB / 442.5 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.00347, allocations: 1.243 MB / 443.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.003524, allocations: 0 / 443.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.003748, allocations: 23.78 kB / 443.7 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.004051, allocations: 87.55 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.004284, allocations: 99.02 kB / 443.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004424, allocations: 71.77 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004528, allocations: 4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.004592, allocations: 43.83 kB / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/0.008543, allocations: 15.98 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.008561, allocations: 4 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.008718, allocations: 91.81 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.008768, allocations: 19.97 kB / 444.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.008795, allocations: 15.88 kB / 444.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.009015, allocations: 147.5 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.009017, allocations: 4 kB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.009018, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.009023, allocations: 0 / 444.3 MB, free: 264 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.1952/0.2043, allocations: 322.9 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2043, allocations: 10.94 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.2043, allocations: 7.422 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2045, allocations: 133.5 kB / 444.8 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2045, allocations: 384 / 444.8 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.2045, allocations: 3.969 kB / 444.8 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.2046, allocations: 89.12 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2047, allocations: 7.266 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2047, allocations: 0.75 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2047, allocations: 0 / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.2047, allocations: 28.55 kB / 444.9 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.205, allocations: 216.7 kB / 445.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.2052, allocations: 48.08 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.2052, allocations: 12.86 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2052, allocations: 6.062 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.2052, allocations: 31.97 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2052, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000377/0.2056, allocations: 147 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2056, allocations: 77.8 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.2057, allocations: 146.8 kB / 445.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.2057, allocations: 26.64 kB / 445.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.2057, allocations: 100.7 kB / 445.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2058, allocations: 15.44 kB / 445.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.2058, allocations: 22.14 kB / 445.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.2058, allocations: 319.1 kB / 446 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.2059, allocations: 22.31 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.2059, allocations: 59.73 kB / 446.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.206, allocations: 43.5 kB / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.206, allocations: 0 / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.711e-05/0.2061, allocations: 89.36 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2061, allocations: 5.844 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2061, allocations: 0 / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2061, allocations: 3.281 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.2061, allocations: 22.72 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2061, allocations: 0 / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.2061, allocations: 6.172 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2061, allocations: 0 / 446.3 MB, free: 45.55 MB / 410.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 4.147e-05/0.2062, allocations: 120.2 kB / 446.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2062, allocations: 10.77 kB / 446.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.2063, allocations: 96.47 kB / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2063, allocations: 3.969 kB / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2063, allocations: 0 / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2063, allocations: 0 / 446.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2065, allocations: 290.5 kB / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2065, allocations: 3.125 kB / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.2066, allocations: 18.67 kB / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2066, allocations: 0 / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2066, allocations: 3.984 kB / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2066, allocations: 0 / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2066, allocations: 1.406 kB / 446.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.585e-05/0.2067, allocations: 177.4 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.2067, allocations: 10.11 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2067, allocations: 6.469 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.2067, allocations: 6.75 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.2067, allocations: 3.328 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2067, allocations: 2.75 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.2068, allocations: 112.5 kB / 447.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2068, allocations: 0 / 447.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.207, allocations: 43.02 kB / 447.2 MB, free: 44.94 MB / 410.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.000783/0.2078, allocations: 0.5258 MB / 447.7 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.2079, allocations: 43.72 kB / 447.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2079, allocations: 0 / 447.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.2079, allocations: 21.91 kB / 447.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2082, allocations: 26.23 kB / 447.8 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.2084, allocations: 199 kB / 448 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.2085, allocations: 87 kB / 448.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.2085, allocations: 17.64 kB / 448.1 MB, free: 44.53 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.2085, allocations: 2.188 kB / 448.1 MB, free: 44.53 MB / 410.7 MB Notification: Performance of Templates: time 0.002352/0.2109, allocations: 1.962 MB / 450.1 MB, free: 44.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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: 5.139548394829035]