Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001477/0.001477, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001475/0.001475, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.586/1.586, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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.2417/0.2417, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.027e-05, allocations: 2.281 kB / 442.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003922/0.003952, allocations: 1.87 MB / 444.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.006259, allocations: 1.079 MB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.006408, allocations: 3.938 kB / 445.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.006832, allocations: 159.4 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.007355, allocations: 195.1 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.007672, allocations: 119.6 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.008084, allocations: 255.2 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.008198, allocations: 17.95 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.008493, allocations: 135.6 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.008758, allocations: 123.7 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.008805, allocations: 12 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.009008, allocations: 67.91 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.00913, allocations: 51.78 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.009231, allocations: 51.78 kB / 446.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.00972, allocations: 223.2 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.009725, allocations: 0 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009727, allocations: 0 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.009736, allocations: 0 / 447.1 MB, free: 0.8164 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00103/0.01077, allocations: 484.5 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.01082, allocations: 8.031 kB / 447.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.01093, allocations: 28.75 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.01139, allocations: 209.8 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01141, allocations: 8.375 kB / 447.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.01145, allocations: 16.36 kB / 447.8 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2025/0.214, allocations: 108.4 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.214, allocations: 3.984 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.214, allocations: 4.984 kB / 448 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.214, allocations: 2.281 kB / 448 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2142, allocations: 54.08 kB / 448 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.2147, allocations: 399.9 kB / 448.4 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2151, allocations: 121.3 kB / 448.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.2152, allocations: 46.11 kB / 448.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2152, allocations: 6.156 kB / 448.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2155, allocations: 124.6 kB / 448.7 MB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.2155, allocations: 0 / 448.7 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.2168, allocations: 0.5048 MB / 449.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2168, allocations: 80.02 kB / 449.3 MB, free: 18.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.2172, allocations: 389.8 kB / 449.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2173, allocations: 33 kB / 449.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2174, allocations: 146 kB / 449.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.2174, allocations: 71.55 kB / 449.9 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.2175, allocations: 42.12 kB / 449.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2176, allocations: 344 kB / 450.3 MB, free: 18.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.2177, allocations: 59.05 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2179, allocations: 92.05 kB / 450.4 MB, free: 17.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.2182, allocations: 169.5 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.2182, allocations: 5 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004257/0.2186, allocations: 234.6 kB / 450.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2186, allocations: 9.312 kB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2186, allocations: 0 / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2187, allocations: 4.297 kB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2188, allocations: 47.5 kB / 450.9 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2188, allocations: 2.5 kB / 450.9 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.2189, allocations: 12.89 kB / 450.9 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2189, allocations: 12.52 kB / 450.9 MB, free: 17.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001388/0.2191, allocations: 156.2 kB / 451.1 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.2191, allocations: 29.06 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/0.2197, allocations: 277 kB / 451.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2197, allocations: 2.75 kB / 451.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2197, allocations: 0 / 451.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2197, allocations: 2.875 kB / 451.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.2207, allocations: 0.6733 MB / 452 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2207, allocations: 2.844 kB / 452 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2208, allocations: 37.56 kB / 452.1 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2208, allocations: 2.375 kB / 452.1 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2208, allocations: 6.094 kB / 452.1 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.2208, allocations: 6.516 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.2208, allocations: 10.7 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.2213, allocations: 431.2 kB / 452.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2213, allocations: 27.45 kB / 452.6 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.2214, allocations: 8.812 kB / 452.6 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2215, allocations: 11.33 kB / 452.6 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.2216, allocations: 28.05 kB / 452.6 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2216, allocations: 10.94 kB / 452.6 MB, free: 16.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.2219, allocations: 286.1 kB / 452.9 MB, free: 16.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2219, allocations: 0.5 kB / 452.9 MB, free: 16.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.2223, allocations: 51.36 kB / 452.9 MB, free: 16.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00212/0.2244, allocations: 0.5454 MB / 453.5 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2248, allocations: 159.9 kB / 453.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2248, allocations: 0 / 453.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.225, allocations: 88.2 kB / 453.7 MB, free: 16.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.2256, allocations: 60.16 kB / 453.8 MB, free: 16.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.2265, allocations: 0.5066 MB / 454.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2267, allocations: 158 kB / 454.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.2268, allocations: 42.3 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.2269, allocations: 33.5 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2269, allocations: 1.062 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Templates: time 0.008589/0.2355, allocations: 3.294 MB / 457.8 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.072332326322794]