Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.699/1.699, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009357/0.0009357, allocations: 99.75 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.501e-05, allocations: 7.984 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5745, allocations: 76.79 MB / 472 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.5749, allocations: 63.19 kB / 472 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008969/0.5839, allocations: 3.555 MB / 475.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.584, allocations: 3.938 kB / 475.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.584, allocations: 4 kB / 475.6 MB, free: 12.5 MB / 346.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.0005002/0.5845, allocations: 451.1 kB / 476 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5846, allocations: 8.031 kB / 476 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.5846, allocations: 23.72 kB / 476.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.5847, allocations: 188.2 kB / 476.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5848, allocations: 9.516 kB / 476.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.5848, allocations: 19.91 kB / 476.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002217/0.585, allocations: 107 kB / 476.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.5853, allocations: 195.1 kB / 476.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5854, allocations: 4 kB / 476.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5854, allocations: 0 / 476.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.5854, allocations: 9.219 kB / 476.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.5864, allocations: 0.8187 MB / 477.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.5866, allocations: 145.8 kB / 477.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.5867, allocations: 53.75 kB / 477.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5867, allocations: 4.312 kB / 477.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.5867, allocations: 34.56 kB / 477.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.5867, allocations: 0 / 477.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002923/0.587, allocations: 124.2 kB / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5871, allocations: 110.1 kB / 477.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5872, allocations: 142.4 kB / 478 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5872, allocations: 29.7 kB / 478 MB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.5873, allocations: 163.4 kB / 478.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.5874, allocations: 59.03 kB / 478.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.5874, allocations: 8 kB / 478.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.5875, allocations: 322.1 kB / 478.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.5876, allocations: 42.75 kB / 478.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5877, allocations: 142.2 kB / 478.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.5878, allocations: 67.03 kB / 478.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5878, allocations: 0 / 478.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002683/0.5881, allocations: 209.2 kB / 479 MB, free: 9.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5881, allocations: 8.031 kB / 479 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5881, allocations: 4 kB / 479 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5881, allocations: 8 kB / 479 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.5883, allocations: 62.67 kB / 479.1 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5884, allocations: 7.938 kB / 479.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.5885, allocations: 28.91 kB / 479.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.5885, allocations: 10.94 kB / 479.1 MB, free: 9.266 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 () * 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 7.529e-05/0.5886, allocations: 112.9 kB / 479.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.5887, allocations: 19.81 kB / 479.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.5887, allocations: 22.97 kB / 479.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5887, allocations: 4 kB / 479.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5887, allocations: 0 / 479.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5888, allocations: 1.031 kB / 479.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.5892, allocations: 375.9 kB / 479.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5892, allocations: 1.547 kB / 479.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5894, allocations: 43.17 kB / 479.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5894, allocations: 5.406 kB / 479.7 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5894, allocations: 0 / 479.7 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5894, allocations: 6.156 kB / 479.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5894, allocations: 3.953 kB / 479.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.5898, allocations: 404.8 kB / 480.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.5898, allocations: 94.41 kB / 480.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.5899, allocations: 4 kB / 480.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.59, allocations: 0 / 480.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.59, allocations: 20.23 kB / 480.2 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.59, allocations: 4 kB / 480.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.5901, allocations: 118.7 kB / 480.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5901, allocations: 0 / 480.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.5904, allocations: 61.28 kB / 480.4 MB, free: 8.039 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 () * 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.0001101/0.5906, allocations: 100.2 kB / 480.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.5908, allocations: 125.2 kB / 480.6 MB, free: 7.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5908, allocations: 0 / 480.6 MB, free: 7.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.5909, allocations: 49.27 kB / 480.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5912, allocations: 25.95 kB / 480.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.592, allocations: 495.1 kB / 481.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.5922, allocations: 0.7406 MB / 481.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.5923, allocations: 21.89 kB / 481.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.5924, allocations: 15.44 kB / 482 MB, free: 6.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5924, allocations: 4 kB / 482 MB, free: 6.578 MB / 346.7 MB Notification: Performance of Templates: time 0.004271/0.5967, allocations: 1.253 MB / 483.2 MB, free: 5.84 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches