Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002089/0.002089, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.986/1.986, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001109/0.001109, allocations: 101.9 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.036e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09614, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.4912, allocations: 75.49 MB / 444.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4915, allocations: 71.78 kB / 444.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.5055, allocations: 3.45 MB / 448.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5056, allocations: 0 / 448.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.5056, allocations: 4 kB / 448.1 MB, free: 14.73 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.0007353/0.5064, allocations: 457.5 kB / 448.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5064, allocations: 8.031 kB / 448.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.5065, allocations: 27.72 kB / 448.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.5067, allocations: 187.9 kB / 448.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.5067, allocations: 15.88 kB / 448.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.5068, allocations: 27.22 kB / 448.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.5073, allocations: 228.4 kB / 449 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5074, allocations: 4 kB / 449 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.5074, allocations: 7.125 kB / 449 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5074, allocations: 12 kB / 449 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.5078, allocations: 125.4 kB / 449.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.5094, allocations: 0.864 MB / 450 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.5097, allocations: 157.8 kB / 450.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.5099, allocations: 63.19 kB / 450.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.5099, allocations: 0 / 450.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.51, allocations: 41.88 kB / 450.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.51, allocations: 0 / 450.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004299/0.5104, allocations: 135 kB / 450.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.5105, allocations: 105 kB / 450.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.5108, allocations: 188.2 kB / 450.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.5108, allocations: 29.7 kB / 450.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.511, allocations: 212.7 kB / 450.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.5111, allocations: 73.45 kB / 451 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.5111, allocations: 3.438 kB / 451 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5113, allocations: 324.3 kB / 451.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5114, allocations: 46 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.5117, allocations: 154.4 kB / 451.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.5119, allocations: 66.8 kB / 451.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5119, allocations: 4 kB / 451.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005364/0.5125, allocations: 233.6 kB / 451.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5125, allocations: 4 kB / 451.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5125, allocations: 4 kB / 451.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.5125, allocations: 8 kB / 451.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.513, allocations: 71.8 kB / 451.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.513, allocations: 4 kB / 451.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.5132, allocations: 26.69 kB / 451.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5133, allocations: 16 kB / 452 MB, free: 11.01 MB / 330.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 () * 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.0001079/0.5134, allocations: 121.5 kB / 452.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.5135, allocations: 19.75 kB / 452.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.5136, allocations: 26.27 kB / 452.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5136, allocations: 4 kB / 452.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.5136, allocations: 3.953 kB / 452.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5136, allocations: 0 / 452.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.5144, allocations: 429.8 kB / 452.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5144, allocations: 0 / 452.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.5148, allocations: 39.42 kB / 452.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5148, allocations: 3.953 kB / 452.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5148, allocations: 4 kB / 452.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5148, allocations: 0 / 452.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5149, allocations: 7.938 kB / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.5154, allocations: 419.3 kB / 453 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.5155, allocations: 96.92 kB / 453.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.5156, allocations: 3.438 kB / 453.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.5158, allocations: 4 kB / 453.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5158, allocations: 19.17 kB / 453.1 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.5159, allocations: 4 kB / 453.1 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.516, allocations: 144.3 kB / 453.3 MB, free: 9.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.516, allocations: 0 / 453.3 MB, free: 9.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004808/0.5165, allocations: 58.53 kB / 453.3 MB, free: 9.641 MB / 330.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 () * 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.000149/0.5167, allocations: 101.9 kB / 453.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5171, allocations: 134.2 kB / 453.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5171, allocations: 0 / 453.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.5172, allocations: 52.62 kB / 453.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.5177, allocations: 30.81 kB / 453.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5189, allocations: 0.5391 MB / 454.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.5193, allocations: 0.7402 MB / 454.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.5194, allocations: 19.44 kB / 455 MB, free: 8.035 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5194, allocations: 0 / 455 MB, free: 8.035 MB / 330.7 MB Notification: Performance of Templates: time 0.005671/0.5251, allocations: 2.201 MB / 457.2 MB, free: 5.859 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches