Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007578/0.0007578, allocations: 92.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2208, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.325, allocations: 76.73 MB / 478.2 MB, free: 3.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3253, allocations: 63.97 kB / 478.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.3354, allocations: 3.572 MB / 481.9 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.3354, allocations: 0 / 481.9 MB, free: 124 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3355, allocations: 8 kB / 481.9 MB, free: 116 kB / 346.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.0006443/0.3361, allocations: 479.1 kB / 482.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3362, allocations: 8.031 kB / 482.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3362, allocations: 27.67 kB / 482.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3364, allocations: 194.4 kB / 482.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3364, allocations: 16.56 kB / 482.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.3365, allocations: 24 kB / 482.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.3369, allocations: 228.3 kB / 482.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3369, allocations: 4 kB / 482.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.337, allocations: 8 kB / 482.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.337, allocations: 8 kB / 482.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3372, allocations: 135.8 kB / 483 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3383, allocations: 0.8713 MB / 483.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3386, allocations: 156.7 kB / 484 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.3386, allocations: 0 / 484 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3386, allocations: 42.55 kB / 484 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.3386, allocations: 0 / 484 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003508/0.339, allocations: 165.6 kB / 484.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3391, allocations: 106.8 kB / 484.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3392, allocations: 173.5 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3392, allocations: 33.64 kB / 484.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.3393, allocations: 156 kB / 484.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.3394, allocations: 67.09 kB / 484.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.3394, allocations: 8 kB / 484.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3396, allocations: 338.7 kB / 485.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3396, allocations: 40.55 kB / 485.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3398, allocations: 159.6 kB / 485.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.34, allocations: 76.61 kB / 485.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.34, allocations: 0 / 485.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003519/0.3404, allocations: 249 kB / 485.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3404, allocations: 8 kB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3404, allocations: 4 kB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3404, allocations: 4 kB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.3406, allocations: 59.91 kB / 485.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3407, allocations: 4.438 kB / 485.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3408, allocations: 31.69 kB / 485.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3408, allocations: 19.94 kB / 485.7 MB, free: 11.95 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.0001142/0.3409, allocations: 145.7 kB / 485.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.341, allocations: 15.81 kB / 485.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.3411, allocations: 21.41 kB / 485.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3411, allocations: 4 kB / 485.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3411, allocations: 4 kB / 485.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3411, allocations: 3.984 kB / 485.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.3416, allocations: 420.9 kB / 486.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3416, allocations: 4 kB / 486.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3418, allocations: 35.92 kB / 486.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3419, allocations: 4 kB / 486.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3419, allocations: 8 kB / 486.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3419, allocations: 3.984 kB / 486.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3419, allocations: 0 / 486.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3423, allocations: 431.1 kB / 486.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3424, allocations: 96.86 kB / 486.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3424, allocations: 4 kB / 486.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3426, allocations: 4 kB / 486.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.3426, allocations: 12.03 kB / 486.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3426, allocations: 7.984 kB / 486.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3428, allocations: 145.4 kB / 487 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3428, allocations: 0 / 487 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.3431, allocations: 63.84 kB / 487.1 MB, free: 10.41 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.0001336/0.3433, allocations: 103.2 kB / 487.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.3436, allocations: 131.8 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3436, allocations: 0.875 kB / 487.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.3437, allocations: 59.89 kB / 487.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3441, allocations: 39.17 kB / 487.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3452, allocations: 0.7187 MB / 488.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3455, allocations: 0.7401 MB / 488.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3456, allocations: 25.94 kB / 488.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.3457, allocations: 15.44 kB / 488.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3457, allocations: 0 / 488.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of Templates: time 0.004117/0.3498, allocations: 1.386 MB / 490.3 MB, free: 7.133 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches