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.0009565/0.0009566, allocations: 171.5 kB / 17.39 MB, free: 4.426 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.33/1.33, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008096/0.0008096, allocations: 95.06 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 15.92 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2458, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09049/0.3363, allocations: 76.76 MB / 479.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3366, allocations: 63.97 kB / 479.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009798/0.3464, allocations: 3.573 MB / 483.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3465, allocations: 0 / 483.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3465, allocations: 4 kB / 483.1 MB, free: 15.94 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.0005836/0.3471, allocations: 475.3 kB / 483.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3471, allocations: 8.031 kB / 483.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.3472, allocations: 24.66 kB / 483.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3473, allocations: 200 kB / 483.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3474, allocations: 16.94 kB / 483.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.3474, allocations: 24.38 kB / 483.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.3478, allocations: 232.8 kB / 484.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.3478, allocations: 4.094 kB / 484.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.3478, allocations: 15.94 kB / 484.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3479, allocations: 4 kB / 484.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.3481, allocations: 131.9 kB / 484.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3492, allocations: 0.8635 MB / 485.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3494, allocations: 164.6 kB / 485.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.3495, allocations: 66.56 kB / 485.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3496, allocations: 0 / 485.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3496, allocations: 38.5 kB / 485.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.3496, allocations: 0 / 485.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003623/0.35, allocations: 177.7 kB / 485.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.35, allocations: 106.8 kB / 485.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3502, allocations: 194.4 kB / 485.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3503, allocations: 25.7 kB / 485.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3504, allocations: 163.9 kB / 486 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.3504, allocations: 67.09 kB / 486.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.3504, allocations: 4 kB / 486.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3506, allocations: 330.8 kB / 486.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.3507, allocations: 40.55 kB / 486.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3508, allocations: 155.6 kB / 486.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.3511, allocations: 225.5 kB / 486.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3511, allocations: 0 / 486.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000351/0.3515, allocations: 241.8 kB / 487.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3515, allocations: 11.94 kB / 487.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3515, allocations: 4.156 kB / 487.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3515, allocations: 4 kB / 487.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3517, allocations: 67.84 kB / 487.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3518, allocations: 8.422 kB / 487.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3519, allocations: 31.69 kB / 487.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.352, allocations: 12 kB / 487.2 MB, free: 11.48 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.0001144/0.3521, allocations: 145.7 kB / 487.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.3521, allocations: 23.66 kB / 487.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3522, allocations: 21.41 kB / 487.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3522, allocations: 4 kB / 487.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3522, allocations: 0 / 487.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3522, allocations: 3.984 kB / 487.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.3528, allocations: 424.8 kB / 487.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3528, allocations: 4 kB / 487.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.353, allocations: 31.98 kB / 487.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.353, allocations: 4 kB / 487.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.353, allocations: 8 kB / 487.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.353, allocations: 0 / 487.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.353, allocations: 3.984 kB / 487.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3534, allocations: 377.1 kB / 488.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.3534, allocations: 92.86 kB / 488.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3535, allocations: 12 kB / 488.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3536, allocations: 8 kB / 488.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3537, allocations: 15.97 kB / 488.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3537, allocations: 11.88 kB / 488.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3538, allocations: 145.5 kB / 488.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3538, allocations: 0 / 488.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.3541, allocations: 51.84 kB / 488.6 MB, free: 10.01 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.0001188/0.3543, allocations: 107.2 kB / 488.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3545, allocations: 142.4 kB / 488.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3545, allocations: 0 / 488.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.3546, allocations: 51.86 kB / 488.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.3551, allocations: 29.05 kB / 488.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3562, allocations: 0.7186 MB / 489.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3566, allocations: 0.7401 MB / 490.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.511e-05/0.3567, allocations: 17.95 kB / 490.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.3567, allocations: 15.44 kB / 490.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3567, allocations: 4 kB / 490.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of Templates: time 0.004083/0.3608, allocations: 1.413 MB / 491.8 MB, free: 6.723 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/jenkins1/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