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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001424, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.00136, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 55.91 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.294, allocations: 50.55 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.006007/0.3, allocations: 2.262 MB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3011, allocations: 195.3 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.3014, allocations: 4 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.3016, allocations: 35.64 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.302, allocations: 59.42 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.3023, allocations: 55.88 kB / 411.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.3028, allocations: 239 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.3031, allocations: 110.5 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3034, allocations: 95.62 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3037, allocations: 103.5 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.3038, allocations: 20 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.3038, allocations: 20 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3039, allocations: 47.84 kB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3041, allocations: 111.5 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.3046, allocations: 256.2 kB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.3047, allocations: 8 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3047, allocations: 0 / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3047, allocations: 0 / 412.8 MB, free: 14 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.001182/0.3059, allocations: 0.5031 MB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.306, allocations: 12.03 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3061, allocations: 24.66 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3065, allocations: 223.5 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.3065, allocations: 12.94 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.3066, allocations: 24.38 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.3073, allocations: 236.8 kB / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.3073, allocations: 192 / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.3074, allocations: 15.94 kB / 413.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3074, allocations: 11.94 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3079, allocations: 127.9 kB / 414 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.3097, allocations: 0.8597 MB / 414.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.3102, allocations: 155.7 kB / 415 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3104, allocations: 62.55 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3104, allocations: 12.3 kB / 415.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.3105, allocations: 46.42 kB / 415.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.465e-06/0.3105, allocations: 0 / 415.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000644/0.3112, allocations: 157.4 kB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3113, allocations: 114.8 kB / 415.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3116, allocations: 190.3 kB / 415.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3117, allocations: 29.7 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3118, allocations: 171.7 kB / 415.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.3119, allocations: 59.11 kB / 415.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3121, allocations: 49.98 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3123, allocations: 326.8 kB / 416.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3125, allocations: 56.47 kB / 416.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3127, allocations: 152.2 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.3132, allocations: 222.2 kB / 416.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3133, allocations: 0 / 416.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006732/0.314, allocations: 253.2 kB / 416.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.314, allocations: 7.938 kB / 416.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.314, allocations: 4 kB / 416.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.3141, allocations: 7.938 kB / 416.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3145, allocations: 59.91 kB / 417 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.3145, allocations: 8 kB / 417 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3148, allocations: 31.62 kB / 417 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3149, allocations: 12 kB / 417 MB, free: 9.434 MB / 334.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.0001961/0.3151, allocations: 142 kB / 417.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3152, allocations: 19.75 kB / 417.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/0.3153, allocations: 29.39 kB / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3154, allocations: 0 / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.3154, allocations: 4 kB / 417.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3154, allocations: 4 kB / 417.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.3163, allocations: 424.8 kB / 417.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3164, allocations: 0 / 417.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.3168, allocations: 43.92 kB / 417.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3168, allocations: 0 / 417.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3168, allocations: 4 kB / 417.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.3168, allocations: 4 kB / 417.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3169, allocations: 0 / 417.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.3175, allocations: 388.7 kB / 418 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.3176, allocations: 96.89 kB / 418.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.3177, allocations: 8 kB / 418.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.318, allocations: 0 / 418.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.318, allocations: 23.86 kB / 418.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3181, allocations: 4 kB / 418.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3183, allocations: 143.2 kB / 418.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3183, allocations: 0 / 418.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006928/0.319, allocations: 47.91 kB / 418.4 MB, free: 7.957 MB / 334.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.0001562/0.3192, allocations: 107.1 kB / 418.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.3196, allocations: 147.4 kB / 418.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3197, allocations: 4.062 kB / 418.6 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3198, allocations: 47.92 kB / 418.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.3207, allocations: 28.77 kB / 418.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3224, allocations: 0.5992 MB / 419.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.3229, allocations: 0.732 MB / 420 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3231, allocations: 25.92 kB / 420 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.3232, allocations: 23.38 kB / 420.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3232, allocations: 0 / 420.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of Templates: time 0.008225/0.3314, allocations: 1.575 MB / 421.6 MB, free: 4.621 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches