Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001331/0.001331, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001501/0.001501, allocations: 220.6 kB / 23 MB, free: 5.578 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.598/1.598, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00349/0.2876, allocations: 2.278 MB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.288, allocations: 199.2 kB / 432.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.2881, allocations: 12 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.49e-05/0.2882, allocations: 35.64 kB / 432.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.2884, allocations: 59.36 kB / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.2885, allocations: 55.92 kB / 432.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.2888, allocations: 231 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.289, allocations: 78.61 kB / 432.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2891, allocations: 99.7 kB / 432.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2893, allocations: 99.55 kB / 432.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2893, allocations: 24 kB / 432.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.2894, allocations: 20 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.2894, allocations: 47.84 kB / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2896, allocations: 115.5 kB / 433.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.2899, allocations: 252.2 kB / 433.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2899, allocations: 0 / 433.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2899, allocations: 0 / 433.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2899, allocations: 3.938 kB / 433.4 MB, free: 3.941 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008246/0.2907, allocations: 0.5107 MB / 433.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2908, allocations: 8.031 kB / 433.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.2908, allocations: 24.8 kB / 433.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.291, allocations: 224 kB / 434.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2911, allocations: 20.94 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.2911, allocations: 24.38 kB / 434.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.2915, allocations: 228.8 kB / 434.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.2915, allocations: 4.188 kB / 434.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2916, allocations: 11.94 kB / 434.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2916, allocations: 11.92 kB / 434.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2918, allocations: 135.1 kB / 434.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.293, allocations: 0.8597 MB / 435.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2933, allocations: 163.7 kB / 435.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.2934, allocations: 58.5 kB / 435.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2934, allocations: 4 kB / 435.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2934, allocations: 42.5 kB / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2934, allocations: 0 / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000387/0.2938, allocations: 169.7 kB / 435.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.2939, allocations: 106.8 kB / 435.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2941, allocations: 199.1 kB / 436.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2942, allocations: 29.7 kB / 436.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2943, allocations: 160.4 kB / 436.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.2943, allocations: 67.42 kB / 436.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.2944, allocations: 57.98 kB / 436.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2946, allocations: 330.8 kB / 436.8 MB, free: 260 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.2947, allocations: 48.55 kB / 436.8 MB, free: 212 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2948, allocations: 152.2 kB / 437 MB, free: 12 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.2951, allocations: 217.6 kB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2951, allocations: 0 / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000379/0.2955, allocations: 245.7 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2955, allocations: 8.375 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2955, allocations: 8.156 kB / 437.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2956, allocations: 4 kB / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.2958, allocations: 67.84 kB / 437.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.2958, allocations: 11.98 kB / 437.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2959, allocations: 27.78 kB / 437.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2959, allocations: 8 kB / 437.6 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001221/0.2961, allocations: 141.7 kB / 437.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.2961, allocations: 27.83 kB / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.2962, allocations: 25.41 kB / 437.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2962, allocations: 0 / 437.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2962, allocations: 8 kB / 437.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2962, allocations: 0 / 437.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.2968, allocations: 424.8 kB / 438.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2968, allocations: 0 / 438.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.297, allocations: 35.98 kB / 438.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.297, allocations: 4.094 kB / 438.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.297, allocations: 8 kB / 438.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.297, allocations: 4 kB / 438.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.297, allocations: 7.875 kB / 438.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.2975, allocations: 387.4 kB / 438.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.2975, allocations: 92.95 kB / 438.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2976, allocations: 8 kB / 438.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2977, allocations: 4 kB / 438.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.2977, allocations: 19.91 kB / 438.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.2977, allocations: 4 kB / 438.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2979, allocations: 139.2 kB / 438.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2979, allocations: 0 / 438.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.2982, allocations: 55.89 kB / 438.9 MB, free: 13.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001249/0.2983, allocations: 99.25 kB / 439 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2986, allocations: 135.8 kB / 439.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2986, allocations: 0.875 kB / 439.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.2987, allocations: 47.86 kB / 439.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.2992, allocations: 32.17 kB / 439.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3002, allocations: 0.614 MB / 439.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3006, allocations: 0.732 MB / 440.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3007, allocations: 21.95 kB / 440.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.3008, allocations: 19.44 kB / 440.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3008, allocations: 3.938 kB / 440.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Templates: time 0.004647/0.3054, allocations: 1.629 MB / 442.3 MB, free: 10.49 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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: 4.481909764930606]