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.001419/0.001419, 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.001548/0.001548, allocations: 214.4 kB / 24.48 MB, free: 3.93 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.501/1.501, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.002071/0.002071, allocations: 67.89 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2943, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00402/0.2983, allocations: 2.138 MB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005806/0.2989, allocations: 191.3 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.299, allocations: 4 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2992, allocations: 43.64 kB / 434.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2994, allocations: 59.42 kB / 434.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2996, allocations: 55.88 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.2999, allocations: 235 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.3001, allocations: 78.67 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3002, allocations: 87.72 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3004, allocations: 87.55 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.3004, allocations: 24 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.3005, allocations: 20 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.3005, allocations: 51.84 kB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3007, allocations: 91.59 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.301, allocations: 257.9 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.301, allocations: 4 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.301, allocations: 3.938 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.301, allocations: 0 / 435.8 MB, free: 3.125 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.0007838/0.3018, allocations: 445.8 kB / 436.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3018, allocations: 11.98 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.3019, allocations: 28.73 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3021, allocations: 169.2 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.3021, allocations: 16.88 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3022, allocations: 24.38 kB / 436.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.3026, allocations: 232 kB / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3026, allocations: 4.188 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.3026, allocations: 11.94 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3026, allocations: 8 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3028, allocations: 127.9 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3039, allocations: 0.728 MB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3042, allocations: 151.8 kB / 437.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3043, allocations: 66.5 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3043, allocations: 4 kB / 437.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3043, allocations: 38.56 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3043, allocations: 0 / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003794/0.3047, allocations: 174.2 kB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.3048, allocations: 110.8 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.305, allocations: 179.4 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.305, allocations: 25.7 kB / 438.3 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3051, allocations: 164.2 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.3052, allocations: 67.42 kB / 438.5 MB, free: 164 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.3053, allocations: 53.95 kB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3054, allocations: 334.8 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.3055, allocations: 44.55 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3057, allocations: 155.9 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.306, allocations: 225.5 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.306, allocations: 3.984 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000361/0.3064, allocations: 233.4 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3064, allocations: 8 kB / 439.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3064, allocations: 7.938 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3064, allocations: 4 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3066, allocations: 63.91 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3066, allocations: 11.88 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3068, allocations: 27.78 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3068, allocations: 12 kB / 439.7 MB, free: 14.88 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.000129/0.3069, allocations: 146 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.307, allocations: 15.91 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.307, allocations: 25.34 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.307, allocations: 4 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.307, allocations: 0 / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.307, allocations: 3.984 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3075, allocations: 344.5 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3075, allocations: 0 / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.3077, allocations: 43.92 kB / 440.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3077, allocations: 4.094 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3078, allocations: 4 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3078, allocations: 0 / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3078, allocations: 4 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3082, allocations: 391.6 kB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3082, allocations: 15.84 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3082, allocations: 4 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3084, allocations: 4 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3084, allocations: 12.03 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3084, allocations: 11.98 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3085, allocations: 124 kB / 440.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 0 / 440.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3089, allocations: 59.83 kB / 440.9 MB, free: 13.61 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.0001155/0.309, allocations: 99.19 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3093, allocations: 133 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3093, allocations: 0 / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.3094, allocations: 60.22 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.3098, allocations: 31.98 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3109, allocations: 0.6171 MB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.311, allocations: 125.2 kB / 441.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3111, allocations: 19.44 kB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3111, allocations: 0 / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Templates: time 0.004583/0.3156, allocations: 2.327 MB / 444.3 MB, free: 10.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/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: 7.128125333227217]