Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001579/0.001579, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001889/0.001889, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.5 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.83 kB / 374.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09781, allocations: 53.31 MB / 428 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003487/0.1013, allocations: 2.283 MB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004087/0.1017, allocations: 191.3 kB / 430.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.1018, allocations: 4 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.484e-05/0.1019, allocations: 39.64 kB / 430.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1021, allocations: 59.42 kB / 430.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1023, allocations: 55.88 kB / 430.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1025, allocations: 231 kB / 430.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1027, allocations: 82.61 kB / 431 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1029, allocations: 99.69 kB / 431.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.103, allocations: 99.55 kB / 431.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.1031, allocations: 24 kB / 431.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.1031, allocations: 20 kB / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1032, allocations: 47.78 kB / 431.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1033, allocations: 115.5 kB / 431.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1036, allocations: 254.9 kB / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1036, allocations: 0 / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1036, allocations: 0 / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1036, allocations: 0 / 431.6 MB, free: 0.7422 MB / 350.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.0007718/0.1044, allocations: 0.5146 MB / 432.1 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1045, allocations: 8.031 kB / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.1045, allocations: 24.8 kB / 432.2 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1855/0.2901, allocations: 213.1 kB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2901, allocations: 22.86 kB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2901, allocations: 23.59 kB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.2905, allocations: 233.1 kB / 432.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2905, allocations: 2.219 kB / 432.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2906, allocations: 9.25 kB / 432.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2906, allocations: 6.375 kB / 432.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.2908, allocations: 135.4 kB / 432.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/0.2918, allocations: 0.8571 MB / 433.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.292, allocations: 150.5 kB / 433.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.2921, allocations: 65.33 kB / 433.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.2921, allocations: 4.312 kB / 433.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2921, allocations: 36.22 kB / 433.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.953e-06/0.2921, allocations: 4.062 kB / 433.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003599/0.2925, allocations: 178.9 kB / 434.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2925, allocations: 106.5 kB / 434.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2927, allocations: 192.2 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2927, allocations: 29.58 kB / 434.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.2928, allocations: 163.3 kB / 434.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2928, allocations: 64.94 kB / 434.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.2929, allocations: 56.22 kB / 434.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2929, allocations: 327.2 kB / 435 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.293, allocations: 50.17 kB / 435.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2931, allocations: 158.8 kB / 435.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2933, allocations: 220.8 kB / 435.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2933, allocations: 0 / 435.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003016/0.2936, allocations: 248 kB / 435.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2936, allocations: 6.969 kB / 435.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2936, allocations: 3.375 kB / 435.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2936, allocations: 9.656 kB / 435.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2938, allocations: 62.03 kB / 435.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2938, allocations: 10.25 kB / 435.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.294, allocations: 34.73 kB / 435.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.294, allocations: 14.67 kB / 435.8 MB, free: 9.355 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 8.108e-05/0.2941, allocations: 138.8 kB / 435.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2941, allocations: 17.88 kB / 436 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.2942, allocations: 23.47 kB / 436 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2942, allocations: 8.922 kB / 436 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2942, allocations: 1.094 kB / 436 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2942, allocations: 1.062 kB / 436 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.2946, allocations: 421.1 kB / 436.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2946, allocations: 1.281 kB / 436.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2948, allocations: 39.64 kB / 436.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2948, allocations: 6.047 kB / 436.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2948, allocations: 10.94 kB / 436.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2948, allocations: 2.406 kB / 436.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2948, allocations: 1.344 kB / 436.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.2951, allocations: 382 kB / 436.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.2952, allocations: 98.75 kB / 436.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.2952, allocations: 5.75 kB / 436.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2953, allocations: 4.094 kB / 436.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.2953, allocations: 12.81 kB / 437 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.2953, allocations: 5.547 kB / 437 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.2954, allocations: 140 kB / 437.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2954, allocations: 0 / 437.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.2958, allocations: 61.11 kB / 437.2 MB, free: 8.41 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 9.004e-05/0.2959, allocations: 109.8 kB / 437.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2961, allocations: 143.1 kB / 437.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2961, allocations: 0 / 437.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.2962, allocations: 54.7 kB / 437.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.2966, allocations: 30.33 kB / 437.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.2974, allocations: 0.6235 MB / 438.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2976, allocations: 0.7317 MB / 438.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.2976, allocations: 23.75 kB / 438.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2976, allocations: 0 / 438.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004318/0.302, allocations: 2.315 MB / 441.2 MB, free: 6.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.717776511795819]