Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001384/0.001384, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.007822/0.007822, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 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.9516/0.9516, allocations: 177 MB / 204.9 MB, free: 5.758 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.2569/0.2569, allocations: 34.25 MB / 295.6 MB, free: 0.668 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.19e-05, allocations: 13.09 kB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.2003/0.2003, allocations: 1.701 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2019, allocations: 0.9779 MB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.202, allocations: 0 / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.2025, allocations: 81.88 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.203, allocations: 118.4 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2033, allocations: 84.5 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.2035, allocations: 121.5 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2036, allocations: 6.031 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2037, allocations: 71.08 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2038, allocations: 56.47 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2039, allocations: 2.719 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.204, allocations: 52.19 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.204, allocations: 23.09 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.2041, allocations: 24.17 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.2043, allocations: 117.1 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2043, allocations: 4 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2043, allocations: 0 / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2043, allocations: 2.938 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005206/0.2048, allocations: 357 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2049, allocations: 9.281 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.2049, allocations: 21.16 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2052, allocations: 147.5 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2052, allocations: 3.062 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2052, allocations: 10.38 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2054, allocations: 52.77 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2054, allocations: 192 / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2054, allocations: 4.375 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2054, allocations: 3.938 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.2055, allocations: 26.05 kB / 447.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.2058, allocations: 235.6 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2059, allocations: 54.86 kB / 447.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.2059, allocations: 24.92 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2059, allocations: 0 / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.2061, allocations: 79.03 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2061, allocations: 0 / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004941/0.2066, allocations: 178.3 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2066, allocations: 54.38 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2068, allocations: 226.6 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2068, allocations: 25.7 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2068, allocations: 109.7 kB / 448.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2069, allocations: 32.12 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.2069, allocations: 25.69 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.2069, allocations: 324.7 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.207, allocations: 22.75 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.207, allocations: 40.27 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.2071, allocations: 68.83 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2071, allocations: 0 / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001317/0.2073, allocations: 100.2 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2073, allocations: 5.625 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2073, allocations: 3.938 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2073, allocations: 6.594 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.2074, allocations: 28.61 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2074, allocations: 0 / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.2074, allocations: 6.609 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2075, allocations: 2.625 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.464e-05/0.2076, allocations: 129.5 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.2076, allocations: 13.33 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.2078, allocations: 122.8 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2078, allocations: 2.906 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2078, allocations: 0 / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2078, allocations: 0 / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.2081, allocations: 361.2 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2081, allocations: 0 / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.2082, allocations: 12.59 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2082, allocations: 0 / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2082, allocations: 2.938 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.2082, allocations: 0 / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2082, allocations: 9.625 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2083, allocations: 213.1 kB / 450 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.2083, allocations: 9.734 kB / 450 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2084, allocations: 11.28 kB / 450 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.2084, allocations: 6.906 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.2084, allocations: 8.984 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.2085, allocations: 8.922 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.2086, allocations: 170.7 kB / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 450.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.2088, allocations: 24.78 kB / 450.3 MB, free: 40.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009441/0.2097, allocations: 496.8 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.2099, allocations: 58.72 kB / 450.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2099, allocations: 2.781 kB / 450.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.2099, allocations: 32.28 kB / 450.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2102, allocations: 36.86 kB / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.2107, allocations: 289.3 kB / 451.2 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.143e-05/0.2107, allocations: 97.12 kB / 451.3 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.2108, allocations: 17.19 kB / 451.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2108, allocations: 0 / 451.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003121/0.2139, allocations: 2.038 MB / 453.3 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.014551844447851]