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.002192/0.002192, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.965/1.965, allocations: 205.4 MB / 222.5 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.001174/0.001173, allocations: 100.6 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.000393, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3252, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4462, allocations: 75.58 MB / 450.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4465, allocations: 71.95 kB / 450.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.4606, allocations: 3.444 MB / 453.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4607, allocations: 3.938 kB / 453.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4607, allocations: 4 kB / 453.6 MB, free: 1.641 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.0008347/0.4616, allocations: 467.2 kB / 454.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4616, allocations: 16.03 kB / 454.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.4617, allocations: 23.72 kB / 454.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4619, allocations: 190.7 kB / 454.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.4619, allocations: 16.56 kB / 454.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.462, allocations: 24 kB / 454.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.4626, allocations: 224.3 kB / 454.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4626, allocations: 3.938 kB / 454.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.4627, allocations: 19.98 kB / 454.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4627, allocations: 4 kB / 454.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.4631, allocations: 135.7 kB / 454.7 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.4647, allocations: 0.8675 MB / 455.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.4651, allocations: 147.8 kB / 455.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4652, allocations: 11.92 kB / 455.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4652, allocations: 38.56 kB / 455.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.865e-06/0.4652, allocations: 0 / 455.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005461/0.4658, allocations: 174.1 kB / 456 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.4659, allocations: 106.8 kB / 456.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4661, allocations: 177.3 kB / 456.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4661, allocations: 25.7 kB / 456.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4663, allocations: 222.4 kB / 456.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.4664, allocations: 67.08 kB / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.4664, allocations: 8 kB / 456.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4665, allocations: 322.8 kB / 456.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4667, allocations: 48.55 kB / 456.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4669, allocations: 146.8 kB / 457.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4671, allocations: 71.92 kB / 457.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4672, allocations: 0 / 457.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005653/0.4677, allocations: 233.5 kB / 457.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4678, allocations: 8.062 kB / 457.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4678, allocations: 4 kB / 457.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4678, allocations: 11.98 kB / 457.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.4683, allocations: 63.86 kB / 457.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4683, allocations: 11.89 kB / 457.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.4685, allocations: 28.5 kB / 457.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.4686, allocations: 16 kB / 457.5 MB, free: 13.46 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.0001707/0.4688, allocations: 141.7 kB / 457.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.4689, allocations: 23.81 kB / 457.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.4689, allocations: 25.34 kB / 457.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.469, allocations: 192 / 457.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.469, allocations: 4 kB / 457.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.469, allocations: 11.92 kB / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.4698, allocations: 416.9 kB / 458.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4698, allocations: 0 / 458.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.4702, allocations: 40.08 kB / 458.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.4702, allocations: 4 kB / 458.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.4702, allocations: 7.953 kB / 458.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.4702, allocations: 7.984 kB / 458.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4703, allocations: 3.938 kB / 458.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.4709, allocations: 416.3 kB / 458.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.471, allocations: 92.86 kB / 458.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.471, allocations: 8 kB / 458.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4712, allocations: 4.031 kB / 458.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.4713, allocations: 23.89 kB / 458.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4713, allocations: 7.984 kB / 458.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4715, allocations: 140.3 kB / 458.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4715, allocations: 0 / 458.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.472, allocations: 51.84 kB / 458.9 MB, free: 11.91 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.0001616/0.4722, allocations: 103.2 kB / 459 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.4726, allocations: 136.2 kB / 459.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4726, allocations: 0 / 459.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4728, allocations: 60.61 kB / 459.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.4732, allocations: 24.17 kB / 459.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.4748, allocations: 0.7481 MB / 460 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4752, allocations: 0.7401 MB / 460.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.4753, allocations: 19.44 kB / 460.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4753, allocations: 0 / 460.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of Templates: time 0.005744/0.481, allocations: 2.215 MB / 462.9 MB, free: 7.801 MB / 346.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