Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.0008024/0.0008024, 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.003663/0.003663, allocations: 154.4 kB / 24.7 MB, free: 8.922 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.8741/0.8741, allocations: 177 MB / 204.9 MB, free: 5.762 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.2688/0.2688, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.495e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.2055/0.2055, allocations: 1.726 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2065, allocations: 0.9749 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.2066, allocations: 3.938 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.2069, allocations: 85.39 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.2071, allocations: 129.3 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.2073, allocations: 82.61 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2074, allocations: 123.9 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2075, allocations: 13.14 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.2076, allocations: 66.8 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.2077, allocations: 64.16 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2077, allocations: 5.969 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.2078, allocations: 64.72 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.2079, allocations: 29.39 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.2079, allocations: 24.98 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.2081, allocations: 144 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2081, allocations: 0 / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2081, allocations: 0 / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2081, allocations: 0 / 447 MB, free: 42.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004773/0.2086, allocations: 369.3 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2086, allocations: 7.594 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.2087, allocations: 20.81 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2089, allocations: 156.8 kB / 447.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2089, allocations: 10.88 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2089, allocations: 11.59 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2091, allocations: 57.56 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2091, allocations: 2.875 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2091, allocations: 384 / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2091, allocations: 3.938 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.2091, allocations: 30.16 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.2094, allocations: 239.6 kB / 447.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.2096, allocations: 65.55 kB / 448 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.2096, allocations: 23.47 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2096, allocations: 0 / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.2098, allocations: 80.95 kB / 448.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2098, allocations: 0 / 448.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005246/0.2103, allocations: 251.8 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2103, allocations: 58 kB / 448.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2104, allocations: 234.5 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.2104, allocations: 29.7 kB / 448.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.2105, allocations: 108.1 kB / 448.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2105, allocations: 37.86 kB / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2105, allocations: 25.69 kB / 448.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.2106, allocations: 330.9 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.2106, allocations: 29.67 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.2107, allocations: 49.66 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.2107, allocations: 87.45 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2108, allocations: 0 / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001287/0.2109, allocations: 129.9 kB / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2109, allocations: 5.844 kB / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2109, allocations: 0 / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2109, allocations: 4.781 kB / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.211, allocations: 34.56 kB / 449.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.211, allocations: 0 / 449.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.211, allocations: 2.781 kB / 449.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.211, allocations: 2.875 kB / 449.5 MB, free: 41.02 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 (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 6.231e-05/0.2111, allocations: 139.4 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2111, allocations: 16.88 kB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.2113, allocations: 155.2 kB / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2113, allocations: 0 / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2113, allocations: 1.219 kB / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2113, allocations: 9.578 kB / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.2116, allocations: 400.6 kB / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2116, allocations: 0 / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.2116, allocations: 18.86 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2116, allocations: 6.875 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2116, allocations: 2.875 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2116, allocations: 0 / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2116, allocations: 2.812 kB / 450.2 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2117, allocations: 255.9 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.2118, allocations: 14.81 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2118, allocations: 2.844 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.2118, allocations: 10.11 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.2118, allocations: 12.92 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2119, allocations: 6.031 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.2119, allocations: 180.4 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2119, allocations: 0 / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.2121, allocations: 27.94 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009202/0.213, allocations: 0.5472 MB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.2132, allocations: 76.28 kB / 451.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2132, allocations: 6.844 kB / 451.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.2132, allocations: 41.06 kB / 451.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2135, allocations: 32.62 kB / 451.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.2139, allocations: 325.2 kB / 451.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.214, allocations: 107.1 kB / 451.8 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.214, allocations: 19.34 kB / 451.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.214, allocations: 0 / 451.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003204/0.2172, allocations: 2.319 MB / 454.2 MB, free: 39.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.032030080445111]