Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001501/0.001501, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001745/0.001745, allocations: 215.9 kB / 24.5 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.359/1.359, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.2156/0.2156, allocations: 46.94 MB / 361.5 MB, free: 4.184 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 79.88 kB / 0.4975 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2825, allocations: 66.07 MB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003749/0.2863, allocations: 2.387 MB / 0.5643 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.2887, allocations: 1.422 MB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2889, allocations: 11.88 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.2894, allocations: 295 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.2901, allocations: 338.6 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.2906, allocations: 215.5 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.2914, allocations: 0.5686 MB / 0.5671 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.2915, allocations: 44.92 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.2919, allocations: 247 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.2922, allocations: 302.8 kB / 0.5677 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.2923, allocations: 20 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2924, allocations: 59.92 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2926, allocations: 115.5 kB / 0.5679 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.2927, allocations: 186.6 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.2932, allocations: 424.5 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2932, allocations: 0 / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2932, allocations: 0 / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2932, allocations: 0 / 0.5684 GB, free: 13.59 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001139/0.2944, allocations: 0.7378 MB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2944, allocations: 12.03 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2945, allocations: 60.55 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.2951, allocations: 361.1 kB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2951, allocations: 12.38 kB / 0.5696 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.2952, allocations: 16.38 kB / 0.5696 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.2956, allocations: 206.1 kB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2956, allocations: 8 kB / 0.5698 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2956, allocations: 0 / 0.5698 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2956, allocations: 7.984 kB / 0.5698 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2958, allocations: 99.88 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.2968, allocations: 0.8362 MB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.2974, allocations: 281.2 kB / 0.571 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.2976, allocations: 88.25 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2976, allocations: 7.938 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.298, allocations: 227.4 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.298, allocations: 0 / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002033/0.3, allocations: 1.044 MB / 0.5723 GB, free: 9.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3001, allocations: 166.2 kB / 0.5725 GB, free: 9.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.3009, allocations: 0.6514 MB / 0.5731 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.3009, allocations: 37.7 kB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3011, allocations: 233 kB / 0.5734 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3012, allocations: 134.9 kB / 0.5735 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.3013, allocations: 78.12 kB / 0.5736 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3015, allocations: 370.8 kB / 0.5739 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.3017, allocations: 104.8 kB / 0.574 GB, free: 7.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.302, allocations: 180.9 kB / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.3025, allocations: 302.7 kB / 0.5745 GB, free: 7.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3025, allocations: 0 / 0.5745 GB, free: 7.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007663/0.3033, allocations: 409.2 kB / 0.5749 GB, free: 6.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3033, allocations: 17.91 kB / 0.5749 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3033, allocations: 0 / 0.5749 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3033, allocations: 8.156 kB / 0.5749 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3036, allocations: 83.89 kB / 0.575 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3037, allocations: 4 kB / 0.575 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3038, allocations: 19.98 kB / 0.575 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.3039, allocations: 16 kB / 0.575 GB, free: 6.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002393/0.3041, allocations: 205.6 kB / 0.5752 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.3042, allocations: 71.52 kB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008612/0.3051, allocations: 457.8 kB / 0.5757 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3051, allocations: 4 kB / 0.5757 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3051, allocations: 0 / 0.5757 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3051, allocations: 7.984 kB / 0.5757 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3066, allocations: 1.252 MB / 0.577 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3066, allocations: 7.938 kB / 0.577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3068, allocations: 47.92 kB / 0.577 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3068, allocations: 4 kB / 0.577 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.3068, allocations: 16.14 kB / 0.577 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3068, allocations: 8 kB / 0.577 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3068, allocations: 7.938 kB / 0.577 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.3077, allocations: 0.8089 MB / 0.5778 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.3078, allocations: 59.59 kB / 0.5779 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.3078, allocations: 12 kB / 0.5779 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.3082, allocations: 19.92 kB / 0.5779 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.3082, allocations: 47.88 kB / 0.578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.3083, allocations: 16 kB / 0.578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005333/0.3088, allocations: 490.8 kB / 0.5785 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3088, allocations: 0 / 0.5785 GB, free: 2.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.3094, allocations: 80 kB / 0.5785 GB, free: 2.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001698/0.3111, allocations: 480.4 kB / 0.579 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.3117, allocations: 284.7 kB / 0.5793 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3117, allocations: 4.062 kB / 0.5793 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.312, allocations: 127.8 kB / 0.5794 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.313, allocations: 154.5 kB / 0.5795 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3145, allocations: 0.9607 MB / 0.5805 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.3151, allocations: 0.8589 MB / 0.5813 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3152, allocations: 59.42 kB / 0.5814 GB, free: 15.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3152, allocations: 0 / 0.5814 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Templates: time 0.01092/0.3261, allocations: 6.6 MB / 0.5878 GB, free: 9.355 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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: 7.82895018113777]