Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007724/0.0007725, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 11.98 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2563, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09895/0.3553, allocations: 75.58 MB / 451.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3556, allocations: 63.97 kB / 451.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.3686, allocations: 3.448 MB / 454.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3686, allocations: 3.938 kB / 454.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3687, allocations: 4 kB / 454.9 MB, free: 1.566 MB / 330.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.0008033/0.3695, allocations: 471.2 kB / 455.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3695, allocations: 8.031 kB / 455.4 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.3696, allocations: 23.72 kB / 455.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3698, allocations: 194.7 kB / 455.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3699, allocations: 20.56 kB / 455.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.37, allocations: 20 kB / 455.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.3705, allocations: 232.3 kB / 455.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3705, allocations: 3.938 kB / 455.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.3706, allocations: 12 kB / 455.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3706, allocations: 4 kB / 455.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.371, allocations: 131.9 kB / 456 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.3726, allocations: 0.8675 MB / 456.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.373, allocations: 147.8 kB / 457 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.373, allocations: 11.94 kB / 457 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3731, allocations: 34.56 kB / 457.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.3731, allocations: 0 / 457.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005369/0.3736, allocations: 173.6 kB / 457.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3737, allocations: 102.8 kB / 457.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.374, allocations: 185.3 kB / 457.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.374, allocations: 25.7 kB / 457.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3742, allocations: 160 kB / 457.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.3742, allocations: 71.08 kB / 457.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.3743, allocations: 4 kB / 457.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3744, allocations: 326.8 kB / 458.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3746, allocations: 48.53 kB / 458.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3748, allocations: 146.8 kB / 458.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.375, allocations: 76.55 kB / 458.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.375, allocations: 0 / 458.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005251/0.3756, allocations: 245.1 kB / 458.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3756, allocations: 8 kB / 458.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3756, allocations: 7.938 kB / 458.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3757, allocations: 4 kB / 458.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.376, allocations: 63.84 kB / 458.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.376, allocations: 11.89 kB / 458.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3763, allocations: 32.5 kB / 458.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3763, allocations: 12.38 kB / 458.7 MB, free: 13.43 MB / 346.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.0001677/0.3765, allocations: 141.7 kB / 458.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3766, allocations: 19.81 kB / 458.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.3767, allocations: 21.39 kB / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.3767, allocations: 4 kB / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3767, allocations: 0 / 458.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.3767, allocations: 7.953 kB / 458.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.3775, allocations: 424.9 kB / 459.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3775, allocations: 0 / 459.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.3778, allocations: 35.98 kB / 459.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3778, allocations: 0 / 459.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.3779, allocations: 11.95 kB / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.3779, allocations: 0 / 459.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/0.3779, allocations: 4 kB / 459.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.3785, allocations: 420.3 kB / 459.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.3786, allocations: 100.9 kB / 459.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3787, allocations: 4 kB / 459.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3789, allocations: 12 kB / 459.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.379, allocations: 15.92 kB / 459.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.379, allocations: 4 kB / 459.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3792, allocations: 144.3 kB / 460.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3792, allocations: 0 / 460.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.3798, allocations: 59.84 kB / 460.1 MB, free: 11.88 MB / 346.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.0001646/0.3799, allocations: 99.25 kB / 460.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.3803, allocations: 135.8 kB / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3803, allocations: 0 / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3804, allocations: 59.84 kB / 460.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3809, allocations: 25.23 kB / 460.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3824, allocations: 0.7252 MB / 461.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.3828, allocations: 0.7362 MB / 461.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.383, allocations: 21.89 kB / 461.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.3831, allocations: 19.44 kB / 461.9 MB, free: 9.992 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3831, allocations: 0 / 461.9 MB, free: 9.992 MB / 346.7 MB Notification: Performance of Templates: time 0.005641/0.3887, allocations: 1.407 MB / 463.4 MB, free: 8.602 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches