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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 195.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008355, allocations: 104 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002117, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1837, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08733/0.2711, allocations: 77.45 MB / 486.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.2713, allocations: 63.97 kB / 486.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008756/0.2801, allocations: 3.572 MB / 490.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2801, allocations: 4 kB / 490.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2801, allocations: 4 kB / 490.5 MB, free: 10.42 MB / 362.7 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.0005593/0.2807, allocations: 471.3 kB / 490.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2807, allocations: 8.031 kB / 490.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.2808, allocations: 28.64 kB / 491 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2809, allocations: 200 kB / 491.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.281, allocations: 12.94 kB / 491.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.281, allocations: 28.31 kB / 491.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2814, allocations: 232.8 kB / 491.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2814, allocations: 4.094 kB / 491.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2814, allocations: 11.94 kB / 491.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2814, allocations: 4 kB / 491.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2817, allocations: 135.9 kB / 491.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2827, allocations: 0.8674 MB / 492.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2829, allocations: 152.7 kB / 492.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.283, allocations: 62.56 kB / 492.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2831, allocations: 4.297 kB / 492.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2831, allocations: 50.44 kB / 492.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.815e-06/0.2831, allocations: 0 / 492.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003451/0.2834, allocations: 173.3 kB / 492.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2835, allocations: 106.8 kB / 493 MB, free: 7.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2837, allocations: 191.2 kB / 493.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2837, allocations: 29.7 kB / 493.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.2838, allocations: 167.8 kB / 493.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.2839, allocations: 59.11 kB / 493.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.2839, allocations: 8 kB / 493.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.284, allocations: 330.8 kB / 493.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.2841, allocations: 44.55 kB / 493.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2842, allocations: 156.2 kB / 493.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2845, allocations: 221.5 kB / 494.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2845, allocations: 0 / 494.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003482/0.2849, allocations: 241.1 kB / 494.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2849, allocations: 12.38 kB / 494.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2849, allocations: 8 kB / 494.4 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2849, allocations: 4 kB / 494.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.2851, allocations: 59.91 kB / 494.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2851, allocations: 4 kB / 494.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2853, allocations: 27.69 kB / 494.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2853, allocations: 16.78 kB / 494.5 MB, free: 5.977 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.2854, allocations: 145.7 kB / 494.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.2855, allocations: 23.66 kB / 494.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.2855, allocations: 29.39 kB / 494.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2855, allocations: 4 kB / 494.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2855, allocations: 0 / 494.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2856, allocations: 0 / 494.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.286, allocations: 416.9 kB / 495.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2861, allocations: 4 kB / 495.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.2863, allocations: 39.92 kB / 495.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2863, allocations: 12.03 kB / 495.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2863, allocations: 0 / 495.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2863, allocations: 4 kB / 495.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2863, allocations: 0 / 495.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.2867, allocations: 390 kB / 495.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.2867, allocations: 92.86 kB / 495.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2868, allocations: 4 kB / 495.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2869, allocations: 7.938 kB / 495.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.2869, allocations: 19.97 kB / 495.7 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.287, allocations: 8 kB / 495.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2871, allocations: 140.3 kB / 495.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2871, allocations: 0 / 495.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.2874, allocations: 55.84 kB / 495.9 MB, free: 4.5 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.2876, allocations: 107.2 kB / 496 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2878, allocations: 143.7 kB / 496.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2878, allocations: 0 / 496.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.2879, allocations: 52.8 kB / 496.2 MB, free: 4.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.2884, allocations: 33.56 kB / 496.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.2894, allocations: 0.7187 MB / 496.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2897, allocations: 0.7323 MB / 497.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.672e-05/0.2898, allocations: 21.95 kB / 497.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.2898, allocations: 19.44 kB / 497.7 MB, free: 2.609 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2898, allocations: 0 / 497.7 MB, free: 2.609 MB / 362.7 MB Notification: Performance of Templates: time 0.003712/0.2935, allocations: 1.415 MB / 499.1 MB, free: 1.211 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches