Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001406/0.001406, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.001539/0.001539, allocations: 166.1 kB / 23.96 MB, free: 4.137 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.619/1.619, allocations: 177 MB / 204.1 MB, free: 9.176 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.221/0.221, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.109e-05, allocations: 2.281 kB / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003255/0.003286, allocations: 1.72 MB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.006088, allocations: 1.669 MB / 446.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.006174, allocations: 4 kB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.006476, allocations: 39.7 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.006897, allocations: 103.5 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.007128, allocations: 79.61 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.00735, allocations: 107.6 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.007471, allocations: 8 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.007609, allocations: 63.77 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.007757, allocations: 27.91 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.007788, allocations: 4 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.00802, allocations: 111.8 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.008103, allocations: 23.86 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.008169, allocations: 23.92 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.008561, allocations: 175.5 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.008565, allocations: 0 / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008566, allocations: 0 / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.008572, allocations: 3.938 kB / 446.9 MB, free: 1.047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007609/0.009333, allocations: 357.4 kB / 447.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.009374, allocations: 8.031 kB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.009432, allocations: 8.891 kB / 447.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.009751, allocations: 146.2 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.009768, allocations: 8.359 kB / 447.4 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.009797, allocations: 8.328 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.01003, allocations: 93.66 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01005, allocations: 7.875 kB / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.01006, allocations: 0 / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.01007, allocations: 0 / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.01017, allocations: 23.98 kB / 447.5 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.01058, allocations: 224.6 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.0108, allocations: 58.67 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2106/0.2214, allocations: 29.23 kB / 447.9 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2214, allocations: 2.594 kB / 447.9 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.2216, allocations: 66.94 kB / 447.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.2216, allocations: 0 / 447.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006319/0.2223, allocations: 178.6 kB / 448.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2223, allocations: 82.48 kB / 448.2 MB, free: 19.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2225, allocations: 172.8 kB / 448.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2225, allocations: 25.7 kB / 448.4 MB, free: 19.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.2225, allocations: 102.2 kB / 448.5 MB, free: 18.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2226, allocations: 24.41 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.2226, allocations: 24.59 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.2227, allocations: 328.6 kB / 448.8 MB, free: 18.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.2227, allocations: 17.78 kB / 448.9 MB, free: 18.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.2228, allocations: 72.8 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.2229, allocations: 66.58 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2229, allocations: 4.812 kB / 449 MB, free: 18.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.2231, allocations: 100.7 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2231, allocations: 6.438 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2231, allocations: 1 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2231, allocations: 0.9375 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.2232, allocations: 19.58 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2232, allocations: 1.859 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.2233, allocations: 2.062 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2233, allocations: 14.64 kB / 449.1 MB, free: 18.49 MB / 366.1 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 7.166e-05/0.2234, allocations: 123.6 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2234, allocations: 14.28 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.2237, allocations: 122.4 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2237, allocations: 2.125 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2237, allocations: 0 / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2237, allocations: 0.7031 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.2241, allocations: 352.7 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2241, allocations: 1.734 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.2242, allocations: 13.22 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2242, allocations: 2.109 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2242, allocations: 3.734 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2242, allocations: 1.375 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2242, allocations: 5.359 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2244, allocations: 213.2 kB / 450 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.2244, allocations: 16.75 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2245, allocations: 6.969 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.2245, allocations: 2.656 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.2246, allocations: 18.88 kB / 450 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2246, allocations: 4.625 kB / 450 MB, free: 17.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.898e-05/0.2247, allocations: 126.3 kB / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2247, allocations: 1.031 kB / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.225, allocations: 47.78 kB / 450.2 MB, free: 17.75 MB / 366.1 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.002053/0.2271, allocations: 0.5742 MB / 450.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.2273, allocations: 64.67 kB / 450.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2273, allocations: 5.438 kB / 450.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.2274, allocations: 29.34 kB / 450.9 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2277, allocations: 31.47 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.2281, allocations: 206.8 kB / 451.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.671e-05/0.2282, allocations: 84.14 kB / 451.2 MB, free: 17.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.2283, allocations: 23.61 kB / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2283, allocations: 21.47 kB / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2283, allocations: 0 / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006329/0.2346, allocations: 2.514 MB / 453.7 MB, free: 16.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.1965829618275166]