Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004004/0.00401, allocations: 181.3 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 2.086/2.086, 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.001009/0.001009, allocations: 78.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.603e-05, allocations: 7.984 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.0953, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5338, allocations: 99.6 MB / 468.7 MB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.5342, allocations: 86.52 kB / 468.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6074/1.142, allocations: 75.68 MB / 0.5317 GB, free: 93.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.142, allocations: 0 / 0.5317 GB, free: 93.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002229/1.142, allocations: 75.48 kB / 0.5318 GB, free: 93.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.01381/1.156, allocations: 3.481 MB / 0.5352 GB, free: 92.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.156, allocations: 10 kB / 0.5352 GB, free: 92.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/1.174, allocations: 2.276 MB / 0.5374 GB, free: 92.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.19, allocations: 3.929 MB / 0.5412 GB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/1.19, allocations: 282.4 kB / 0.5415 GB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/1.193, allocations: 373.3 kB / 0.5419 GB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/1.226, allocations: 10.39 MB / 0.552 GB, free: 89.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/1.226, allocations: 60.23 kB / 0.5521 GB, free: 89.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/1.227, allocations: 181.9 kB / 0.5522 GB, free: 89.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/1.229, allocations: 0.9984 MB / 0.5532 GB, free: 89.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03378/1.263, allocations: 8.579 MB / 0.5616 GB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06305/1.326, allocations: 44.74 MB / 0.6053 GB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/1.342, allocations: 3.838 MB / 0.609 GB, free: 55.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/1.346, allocations: 1.768 MB / 0.6108 GB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/1.362, allocations: 7.645 MB / 0.6182 GB, free: 50.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/1.362, allocations: 58.08 kB / 0.6183 GB, free: 50.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.39e-06/1.362, allocations: 0 / 0.6183 GB, free: 50.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.07251/1.435, allocations: 14.71 MB / 0.6326 GB, free: 38.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.435, allocations: 145.5 kB / 0.6328 GB, free: 38.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.441, allocations: 3.055 MB / 0.6358 GB, free: 36.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004221/1.442, allocations: 57.61 kB / 0.6358 GB, free: 35.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.444, allocations: 2.69 MB / 0.6384 GB, free: 33.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009344/1.445, allocations: 0.6413 MB / 0.6391 GB, free: 32.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/1.445, allocations: 107.9 kB / 0.6392 GB, free: 32.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/1.445, allocations: 0.5442 MB / 0.6397 GB, free: 32.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/1.45, allocations: 1.867 MB / 0.6415 GB, free: 30.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006601/1.457, allocations: 5.262 MB / 0.6467 GB, free: 24.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006736/1.463, allocations: 3.092 MB / 0.6497 GB, free: 21.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-05/1.463, allocations: 36 kB / 0.6497 GB, free: 21.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02294/1.486, allocations: 7.898 MB / 0.6574 GB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/1.487, allocations: 56 kB / 0.6575 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.487, allocations: 120 kB / 0.6576 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/1.494, allocations: 1.305 MB / 0.6589 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00749/1.501, allocations: 1.267 MB / 0.6601 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.515, allocations: 6.117 MB / 0.6661 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00664/1.522, allocations: 347.5 kB / 0.6664 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.523, allocations: 347.9 kB / 0.6668 GB, free: 5.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (679): * Single equations (assignments): 675 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001058/1.524, allocations: 0.526 MB / 0.6673 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007344/1.525, allocations: 304.1 kB / 0.6676 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.536, allocations: 3.334 MB / 0.6708 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/1.536, allocations: 16 kB / 0.6708 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.536, allocations: 4 kB / 0.6708 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/1.536, allocations: 11.97 kB / 0.6708 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.562, allocations: 7.566 MB / 0.6782 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/1.562, allocations: 0 / 0.6782 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.564, allocations: 239.7 kB / 0.6785 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007221/1.571, allocations: 1.121 MB / 0.6796 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/1.572, allocations: 24 kB / 0.6796 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.587, allocations: 5.757 MB / 0.6852 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.587, allocations: 0 / 0.6852 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3032/1.89, allocations: 5.684 MB / 0.6907 GB, free: 98.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/1.893, allocations: 0.5766 MB / 0.6913 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.894, allocations: 26.8 kB / 0.6913 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.897, allocations: 106.2 kB / 0.6914 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/1.898, allocations: 90.83 kB / 0.6915 GB, free: 98.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.898, allocations: 42.41 kB / 0.6916 GB, free: 98.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006317/1.904, allocations: 2.109 MB / 0.6936 GB, free: 98.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.904, allocations: 0 / 0.6936 GB, free: 98.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006993/1.911, allocations: 0.9244 MB / 0.6945 GB, free: 98.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008447/1.912, allocations: 175.8 kB / 0.6947 GB, free: 97.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.925, allocations: 4.649 MB / 0.6992 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.925, allocations: 0.8438 kB / 0.6992 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00427/1.929, allocations: 1.515 MB / 0.7007 GB, free: 97.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.932, allocations: 320.7 kB / 0.701 GB, free: 97.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.952, allocations: 6.987 MB / 0.7078 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/1.959, allocations: 2.941 MB / 0.7107 GB, free: 95.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.96, allocations: 259.2 kB / 0.711 GB, free: 95.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/1.96, allocations: 0 / 0.711 GB, free: 95.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1179/2.078, allocations: 63.34 MB / 0.7728 GB, free: 66.27 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches