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.001512/0.001517, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 89.77 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.109e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3486, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4746, allocations: 74.83 MB / 437.2 MB, free: 11.48 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.475, allocations: 65.47 kB / 437.2 MB, free: 11.42 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.4893, allocations: 3.423 MB / 440.6 MB, free: 8.031 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4894, allocations: 0 / 440.6 MB, free: 8.031 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4894, allocations: 4 kB / 440.7 MB, free: 8.027 MB / 331.1 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.0008183/0.4902, allocations: 457.3 kB / 441.1 MB, free: 7.539 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4903, allocations: 8.031 kB / 441.1 MB, free: 7.531 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.4904, allocations: 23.72 kB / 441.1 MB, free: 7.508 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.4906, allocations: 190.8 kB / 441.3 MB, free: 7.281 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4907, allocations: 4 kB / 441.3 MB, free: 7.277 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.4907, allocations: 23.89 kB / 441.3 MB, free: 7.254 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003915/0.4911, allocations: 113 kB / 441.5 MB, free: 7.141 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.4916, allocations: 193.2 kB / 441.6 MB, free: 6.934 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4917, allocations: 4 kB / 441.6 MB, free: 6.93 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.4917, allocations: 0 / 441.6 MB, free: 6.93 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4917, allocations: 4 kB / 441.7 MB, free: 6.926 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4934, allocations: 0.8212 MB / 442.5 MB, free: 6.055 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.4938, allocations: 145.6 kB / 442.6 MB, free: 5.891 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4939, allocations: 54.58 kB / 442.7 MB, free: 5.828 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4939, allocations: 4 kB / 442.7 MB, free: 5.824 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.494, allocations: 34.56 kB / 442.7 MB, free: 5.781 MB / 331.1 MB Notification: Performance of pre-optimization done (n=17): time 3.296e-06/0.494, allocations: 0 / 442.7 MB, free: 5.781 MB / 331.1 MB Notification: Performance of matching and sorting (n=17): time 0.000434/0.4944, allocations: 127.8 kB / 442.8 MB, free: 5.652 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4946, allocations: 114.8 kB / 442.9 MB, free: 5.516 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4948, allocations: 147.4 kB / 443.1 MB, free: 5.363 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4948, allocations: 29.64 kB / 443.1 MB, free: 5.328 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.495, allocations: 222.5 kB / 443.3 MB, free: 5.109 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.4951, allocations: 67.09 kB / 443.4 MB, free: 5.043 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.4951, allocations: 3.141 kB / 443.4 MB, free: 5.043 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4953, allocations: 322.8 kB / 443.7 MB, free: 4.719 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4954, allocations: 40.56 kB / 443.8 MB, free: 4.68 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.4956, allocations: 138.6 kB / 443.9 MB, free: 4.496 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.4958, allocations: 59.92 kB / 443.9 MB, free: 4.438 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4958, allocations: 4 kB / 444 MB, free: 4.434 MB / 331.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005182/0.4964, allocations: 205.2 kB / 444.2 MB, free: 4.227 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4964, allocations: 4 kB / 444.2 MB, free: 4.223 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4964, allocations: 4 kB / 444.2 MB, free: 4.219 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.4964, allocations: 8 kB / 444.2 MB, free: 4.211 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.4969, allocations: 60.34 kB / 444.2 MB, free: 4.152 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.4969, allocations: 17.11 kB / 444.2 MB, free: 4.137 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.4971, allocations: 23.73 kB / 444.3 MB, free: 4.113 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.4972, allocations: 8 kB / 444.3 MB, free: 4.105 MB / 331.1 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.0001239/0.4973, allocations: 116.9 kB / 444.4 MB, free: 3.984 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.4974, allocations: 19.75 kB / 444.4 MB, free: 3.965 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.4975, allocations: 24.08 kB / 444.4 MB, free: 3.941 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4975, allocations: 0 / 444.4 MB, free: 3.941 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.4975, allocations: 4 kB / 444.4 MB, free: 3.938 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4976, allocations: 4 kB / 444.4 MB, free: 3.934 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.4983, allocations: 373.5 kB / 444.8 MB, free: 3.516 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4983, allocations: 0 / 444.8 MB, free: 3.516 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.4987, allocations: 43.92 kB / 444.8 MB, free: 3.473 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4988, allocations: 0 / 444.8 MB, free: 3.473 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4988, allocations: 4 kB / 444.9 MB, free: 3.469 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4988, allocations: 0 / 444.9 MB, free: 3.469 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.4988, allocations: 12.05 kB / 444.9 MB, free: 3.457 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.4994, allocations: 406.7 kB / 445.3 MB, free: 3.008 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.4995, allocations: 92.86 kB / 445.4 MB, free: 2.898 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.992e-05/0.4996, allocations: 4 kB / 445.4 MB, free: 2.895 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.4998, allocations: 0 / 445.4 MB, free: 2.895 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.4999, allocations: 16.17 kB / 445.4 MB, free: 2.879 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4999, allocations: 7.984 kB / 445.4 MB, free: 2.871 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.5, allocations: 116 kB / 445.5 MB, free: 2.758 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5001, allocations: 0 / 445.5 MB, free: 2.758 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005625/0.5006, allocations: 55.8 kB / 445.5 MB, free: 2.703 MB / 331.1 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.0001759/0.5008, allocations: 100.1 kB / 445.6 MB, free: 2.598 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.5012, allocations: 119.9 kB / 445.8 MB, free: 2.48 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5012, allocations: 0 / 445.8 MB, free: 2.48 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.5013, allocations: 53.81 kB / 445.8 MB, free: 2.43 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.5018, allocations: 22.64 kB / 445.8 MB, free: 2.41 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.5032, allocations: 0.5058 MB / 446.3 MB, free: 1.875 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5036, allocations: 0.7462 MB / 447.1 MB, free: 1.105 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.5037, allocations: 23.42 kB / 447.1 MB, free: 1.086 MB / 331.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5037, allocations: 0 / 447.1 MB, free: 1.086 MB / 331.1 MB Notification: Performance of Templates: time 0.006153/0.5099, allocations: 2.096 MB / 449.2 MB, free: 15.01 MB / 347.1 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