Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001225/0.001225, 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.001272/0.001272, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.354/1.354, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2162/0.2162, allocations: 46.92 MB / 361.5 MB, free: 4.258 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 83.86 kB / 0.4975 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2785, allocations: 66.08 MB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003254/0.2818, allocations: 1.944 MB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2837, allocations: 1.157 MB / 0.5651 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.2838, allocations: 3.938 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2842, allocations: 255.3 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.2847, allocations: 235.2 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.2849, allocations: 115.6 kB / 0.5656 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.2853, allocations: 275.2 kB / 0.5659 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2854, allocations: 17.95 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2856, allocations: 143.5 kB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.2858, allocations: 203.4 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.2859, allocations: 12 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.286, allocations: 71.95 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.2861, allocations: 67.7 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.2862, allocations: 95.22 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2865, allocations: 261.1 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2865, allocations: 0 / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2865, allocations: 0 / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.2865, allocations: 0 / 0.5667 GB, free: 15.36 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007561/0.2873, allocations: 0.5273 MB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2873, allocations: 12.03 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.2874, allocations: 28.75 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.2877, allocations: 236.9 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2878, allocations: 4.375 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.2878, allocations: 8.375 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.288, allocations: 115.6 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.288, allocations: 4 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.288, allocations: 4 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.288, allocations: 3.938 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2882, allocations: 47.97 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.2887, allocations: 455.7 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.2891, allocations: 121.2 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.2892, allocations: 37.83 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2892, allocations: 4 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.2894, allocations: 129 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2894, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001241/0.2907, allocations: 0.5126 MB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2907, allocations: 81.11 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.2913, allocations: 0.4937 MB / 0.5695 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2913, allocations: 29.7 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.2914, allocations: 168.5 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.2915, allocations: 79.41 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.2915, allocations: 41.7 kB / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2917, allocations: 350.8 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2918, allocations: 55.97 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.292, allocations: 88.72 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.2922, allocations: 159.5 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2922, allocations: 4 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003954/0.2926, allocations: 245.2 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2927, allocations: 8 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2927, allocations: 4.062 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2927, allocations: 3.938 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2928, allocations: 43.92 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2928, allocations: 7.984 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.2929, allocations: 8 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2929, allocations: 4 kB / 0.5707 GB, free: 11.03 MB / 414.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.0001622/0.2931, allocations: 178.2 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.2931, allocations: 35.77 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.2936, allocations: 273 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2936, allocations: 4 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2936, allocations: 3.938 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2936, allocations: 0 / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.2945, allocations: 0.7146 MB / 0.5719 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2946, allocations: 4 kB / 0.5719 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.2946, allocations: 31.92 kB / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2946, allocations: 0 / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2947, allocations: 8 kB / 0.5719 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2947, allocations: 4 kB / 0.5719 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2947, allocations: 0 / 0.5719 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.2951, allocations: 433.2 kB / 0.5723 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.2952, allocations: 31.81 kB / 0.5724 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.2952, allocations: 11.98 kB / 0.5724 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2954, allocations: 8 kB / 0.5724 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.2954, allocations: 23.91 kB / 0.5724 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2954, allocations: 12 kB / 0.5724 GB, free: 9.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003547/0.2958, allocations: 375.1 kB / 0.5728 GB, free: 8.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2958, allocations: 0 / 0.5728 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.2961, allocations: 55.86 kB / 0.5728 GB, free: 8.754 MB / 414.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 (22): * Single equations (assignments): 18 * 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.001862/0.298, allocations: 0.5061 MB / 0.5733 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.2983, allocations: 151.8 kB / 0.5735 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2983, allocations: 0 / 0.5735 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.2985, allocations: 71.84 kB / 0.5735 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.2991, allocations: 61.83 kB / 0.5736 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.3, allocations: 0.6387 MB / 0.5742 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.3004, allocations: 0.787 MB / 0.575 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.3005, allocations: 31.42 kB / 0.575 GB, free: 6.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3005, allocations: 0 / 0.575 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Templates: time 0.006292/0.3068, allocations: 3.899 MB / 0.5788 GB, free: 2.734 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.357347316108644]