Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.00176/0.00176, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002054/0.002054, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.523/1.523, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.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.2481/0.2481, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 75.88 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3304, allocations: 66.09 MB / 0.562 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003238/0.3336, allocations: 1.702 MB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.3361, allocations: 1.664 MB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.3362, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3365, allocations: 39.77 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.3369, allocations: 103.5 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3371, allocations: 75.67 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3373, allocations: 115.6 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3374, allocations: 8 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.3375, allocations: 39.8 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3376, allocations: 43.77 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3376, allocations: 8 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3378, allocations: 115.9 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.3379, allocations: 15.98 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.3379, allocations: 23.81 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3382, allocations: 173.7 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3382, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3382, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3382, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.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.0005647/0.3388, allocations: 357.5 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3388, allocations: 8.031 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3389, allocations: 16.83 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3392, allocations: 150.9 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3392, allocations: 384 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3392, allocations: 8.125 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3394, allocations: 105 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3394, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3394, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3394, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.3395, allocations: 23.97 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.3398, allocations: 232.5 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.34, allocations: 54.62 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.3401, allocations: 20.84 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3401, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.3403, allocations: 67.39 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3403, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.3408, allocations: 193.2 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3409, allocations: 81.11 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3411, allocations: 166.5 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3411, allocations: 33.7 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.3411, allocations: 92.14 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3412, allocations: 31.73 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3412, allocations: 25.7 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3414, allocations: 322.8 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.3414, allocations: 23.92 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.3415, allocations: 76.2 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3416, allocations: 57.7 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3416, allocations: 0 / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.3418, allocations: 117.6 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3419, allocations: 4 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3419, allocations: 0 / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3419, allocations: 4 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.342, allocations: 15.98 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.342, allocations: 0 / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.342, allocations: 4 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.342, allocations: 8 kB / 0.5682 GB, free: 13.34 MB / 414.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 0.0001067/0.3421, allocations: 121.7 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3422, allocations: 7.953 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3424, allocations: 126.3 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3424, allocations: 4 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3424, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3424, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.3429, allocations: 350.9 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3429, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3429, allocations: 8 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3429, allocations: 0 / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3429, allocations: 8 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3429, allocations: 4.031 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3429, allocations: 3.938 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3432, allocations: 216.6 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.3432, allocations: 11.91 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3432, allocations: 4 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.3433, allocations: 15.92 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3434, allocations: 8.312 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3434, allocations: 11.98 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3435, allocations: 127.9 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3435, allocations: 4 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.3438, allocations: 51.8 kB / 0.5692 GB, free: 12.2 MB / 414.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.002069/0.3459, allocations: 0.5701 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.3461, allocations: 55.92 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3461, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.3462, allocations: 36.05 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3465, allocations: 26.47 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.347, allocations: 240.4 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.928e-05/0.3471, allocations: 89.3 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.3472, allocations: 19.44 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3472, allocations: 0 / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.005007/0.3522, allocations: 2.434 MB / 0.5726 GB, free: 8.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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: 8.173174432944506]