Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 85.91 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.728e-05, allocations: 7.938 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1258, allocations: 50.43 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.544, allocations: 75.98 MB / 463.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5444, allocations: 71.95 kB / 463.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009455/0.5538, allocations: 3.543 MB / 467.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5539, allocations: 4 kB / 467.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.5539, allocations: 4 kB / 467.1 MB, free: 15.26 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.0005829/0.5545, allocations: 455.1 kB / 467.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5546, allocations: 14.38 kB / 467.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.5547, allocations: 27.67 kB / 467.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.5548, allocations: 187.3 kB / 467.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5549, allocations: 12 kB / 467.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.5549, allocations: 19.98 kB / 467.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002503/0.5552, allocations: 109.1 kB / 467.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.5555, allocations: 191.2 kB / 468.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5556, allocations: 7.891 kB / 468.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.5556, allocations: 0 / 468.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5556, allocations: 11.95 kB / 468.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.5569, allocations: 0.8173 MB / 468.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.5571, allocations: 139.8 kB / 469 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.5572, allocations: 58.61 kB / 469.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5572, allocations: 0 / 469.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5573, allocations: 38.56 kB / 469.1 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.5573, allocations: 4 kB / 469.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003117/0.5576, allocations: 117.7 kB / 469.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5576, allocations: 106.8 kB / 469.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.5578, allocations: 142.5 kB / 469.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5578, allocations: 25.7 kB / 469.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.5579, allocations: 168 kB / 469.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.558, allocations: 59.11 kB / 469.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.558, allocations: 3.938 kB / 469.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5581, allocations: 334.8 kB / 470.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.5582, allocations: 40.56 kB / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5584, allocations: 143.4 kB / 470.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.5585, allocations: 72.05 kB / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5585, allocations: 0 / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002965/0.5588, allocations: 201.6 kB / 470.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5588, allocations: 8.031 kB / 470.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5588, allocations: 8 kB / 470.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5589, allocations: 4 kB / 470.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5591, allocations: 59.92 kB / 470.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.5591, allocations: 11.98 kB / 470.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5592, allocations: 19.69 kB / 470.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5593, allocations: 12.05 kB / 470.6 MB, free: 11.38 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 9.95e-05/0.5594, allocations: 124.8 kB / 470.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.5594, allocations: 19.8 kB / 470.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.5595, allocations: 21.84 kB / 470.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5595, allocations: 0 / 470.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5595, allocations: 4 kB / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5595, allocations: 3.984 kB / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.56, allocations: 377.4 kB / 471.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.56, allocations: 0 / 471.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.5602, allocations: 36.08 kB / 471.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5602, allocations: 4 kB / 471.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5603, allocations: 8 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5603, allocations: 3.938 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5603, allocations: 4 kB / 471.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.5607, allocations: 401.9 kB / 471.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.5608, allocations: 92.91 kB / 471.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.5608, allocations: 4 kB / 471.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5609, allocations: 0 / 471.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.561, allocations: 15.97 kB / 471.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.561, allocations: 12 kB / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.5611, allocations: 116.9 kB / 471.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5611, allocations: 0 / 471.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.5615, allocations: 55.75 kB / 471.9 MB, free: 9.969 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.0001598/0.5616, allocations: 103.2 kB / 472 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5619, allocations: 116.6 kB / 472.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5619, allocations: 4.062 kB / 472.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.562, allocations: 47.94 kB / 472.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5623, allocations: 25.91 kB / 472.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.5632, allocations: 0.4895 MB / 472.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5636, allocations: 0.7437 MB / 473.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.387e-05/0.5637, allocations: 17.86 kB / 473.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.5637, allocations: 15.44 kB / 473.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5637, allocations: 0 / 473.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of Templates: time 0.003875/0.5676, allocations: 1.258 MB / 474.7 MB, free: 7.102 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches