Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001445/0.001445, 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.001694/0.001694, allocations: 217 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.36/1.36, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2071/0.2071, allocations: 46.93 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.88 kB / 0.4975 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2816, allocations: 66.07 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002951/0.2845, allocations: 1.751 MB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2862, allocations: 1.045 MB / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.2863, allocations: 0 / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.2865, allocations: 55.75 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.2868, allocations: 99.55 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.287, allocations: 79.67 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2872, allocations: 107.6 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.2872, allocations: 7.984 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.2873, allocations: 51.72 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.2874, allocations: 27.86 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2874, allocations: 4 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.2875, allocations: 47.97 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.2876, allocations: 23.92 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.2876, allocations: 47.61 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.2878, allocations: 125.8 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2878, allocations: 0 / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2878, allocations: 0 / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2878, allocations: 0 / 0.5654 GB, free: 0.7461 MB / 398.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.0005569/0.2884, allocations: 373.4 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.2884, allocations: 8.031 kB / 0.5658 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.2885, allocations: 12.89 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.2887, allocations: 155.1 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2887, allocations: 8.375 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2888, allocations: 8.297 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2889, allocations: 57.98 kB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2889, allocations: 0 / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2889, allocations: 3.938 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2889, allocations: 4 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.289, allocations: 15.98 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.2894, allocations: 275.9 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2895, allocations: 54.62 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.2896, allocations: 20.84 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2896, allocations: 0 / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.2898, allocations: 71.39 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2898, allocations: 0 / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005093/0.2903, allocations: 177.3 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2903, allocations: 51.41 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2905, allocations: 239 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2906, allocations: 29.7 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.2906, allocations: 116.1 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2907, allocations: 23.84 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2907, allocations: 21.72 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2908, allocations: 330.8 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.2909, allocations: 23.92 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.291, allocations: 41.64 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2911, allocations: 54.09 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2911, allocations: 7.984 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.2913, allocations: 109.5 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2913, allocations: 6.188 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2913, allocations: 4 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2913, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.2914, allocations: 19.98 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2914, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.2914, allocations: 4 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2914, allocations: 0 / 0.5676 GB, free: 14.27 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.0001115/0.2915, allocations: 143 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2916, allocations: 15.91 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.2918, allocations: 119.1 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2918, allocations: 4 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2918, allocations: 0 / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2918, allocations: 0 / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.2923, allocations: 378.3 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2923, allocations: 4.031 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.2923, allocations: 11.94 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2923, allocations: 0 / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2923, allocations: 0 / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.2923, allocations: 7.938 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2923, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.2925, allocations: 204.3 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.2926, allocations: 15.91 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2926, allocations: 8 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.2927, allocations: 3.938 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.2927, allocations: 7.984 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2927, allocations: 4 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.2929, allocations: 175.2 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2929, allocations: 0 / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.2931, allocations: 23.94 kB / 0.5687 GB, free: 13.07 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 (8): * Single equations (assignments): 6 * 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.001602/0.2947, allocations: 454.9 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.2949, allocations: 67.89 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2949, allocations: 0 / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.295, allocations: 28.05 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2953, allocations: 36.67 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.2958, allocations: 296.8 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.2961, allocations: 0.7196 MB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.2962, allocations: 19.44 kB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2962, allocations: 4.062 kB / 0.5703 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Templates: time 0.003781/0.3, allocations: 2.011 MB / 0.5722 GB, free: 9.555 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.199287971947342]