Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001451/0.001451, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.00146/0.00146, allocations: 159 kB / 23.95 MB, free: 4.168 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.524/1.524, allocations: 177 MB / 204.1 MB, free: 9.172 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.2234/0.2234, 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.886e-05/4.051e-05, allocations: 2.281 kB / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003972/0.004013, allocations: 1.719 MB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.006955, allocations: 1.663 MB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.007081, allocations: 8 kB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.007434, allocations: 35.72 kB / 446.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.007936, allocations: 103.4 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.008241, allocations: 83.66 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.008489, allocations: 107.6 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.008613, allocations: 11.94 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.008753, allocations: 51.89 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.008923, allocations: 39.83 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.008952, allocations: 4 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.009211, allocations: 107.8 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.009285, allocations: 23.92 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.009347, allocations: 23.92 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.009738, allocations: 171.5 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009742, allocations: 3.938 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009743, allocations: 4 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.00975, allocations: 0 / 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.0006788/0.01043, allocations: 345.5 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01047, allocations: 12.03 kB / 447.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.01054, allocations: 16.81 kB / 447.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.01086, allocations: 158.1 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.01087, allocations: 4.375 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.0109, allocations: 8.328 kB / 447.4 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.01114, allocations: 93.66 kB / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.01115, allocations: 3.938 kB / 447.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.01116, allocations: 0 / 447.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01118, allocations: 0 / 447.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.01127, allocations: 27.97 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.01167, allocations: 228.5 kB / 447.8 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.01187, allocations: 58.62 kB / 447.8 MB, free: 0 / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.01208, allocations: 25.5 kB / 447.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.01212, allocations: 1.562 kB / 447.9 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.01236, allocations: 68.14 kB / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.01236, allocations: 0 / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000819/0.01318, allocations: 183.5 kB / 448.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.01324, allocations: 78.48 kB / 448.2 MB, free: 19.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.01346, allocations: 170.5 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.01347, allocations: 26.89 kB / 448.4 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.01353, allocations: 103.5 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.01356, allocations: 21.09 kB / 448.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.01362, allocations: 22.97 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.0137, allocations: 328.7 kB / 448.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.01377, allocations: 18.92 kB / 448.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.01386, allocations: 77.41 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01399, allocations: 63.77 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01399, allocations: 0 / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.0142, allocations: 101.5 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.01423, allocations: 5.125 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01423, allocations: 0 / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.01426, allocations: 2 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01438, allocations: 17.02 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01439, allocations: 5.516 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.01445, allocations: 2.859 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01446, allocations: 10.22 kB / 449.1 MB, free: 18.48 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 9.341e-05/0.01455, allocations: 129.1 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.01458, allocations: 14.06 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.01486, allocations: 120.5 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01486, allocations: 1.844 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01486, allocations: 0 / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01487, allocations: 1.922 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.01529, allocations: 353.9 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01529, allocations: 1.125 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.01533, allocations: 12.08 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01534, allocations: 1.156 kB / 449.7 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01535, allocations: 1.859 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01535, allocations: 4.906 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01535, allocations: 1.125 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01558, allocations: 216.3 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.0156, allocations: 12.98 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.01563, allocations: 6.391 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.01571, allocations: 3.016 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.01576, allocations: 15.28 kB / 450 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01577, allocations: 4.109 kB / 450 MB, free: 17.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.707e-05/0.01587, allocations: 130 kB / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01587, allocations: 0 / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.01619, allocations: 51.28 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.00213/0.01832, allocations: 0.5836 MB / 450.8 MB, free: 17.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.01854, allocations: 62.64 kB / 450.8 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.01854, allocations: 1.859 kB / 450.8 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.01863, allocations: 29.42 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.019, allocations: 32.52 kB / 450.9 MB, free: 17.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.01949, allocations: 205.9 kB / 451.1 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.01955, allocations: 88.58 kB / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.01961, allocations: 22.98 kB / 451.2 MB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01966, allocations: 20.58 kB / 451.2 MB, free: 17.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01966, allocations: 1 kB / 451.2 MB, free: 17.23 MB / 366.1 MB Notification: Performance of Templates: time 0.00674/0.0264, allocations: 2.518 MB / 453.7 MB, free: 16.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.028047177940607]