Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000884/0.000884, allocations: 88.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 7.938 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 50.42 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.41, allocations: 101.3 MB / 0.491 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4103, allocations: 95.94 kB / 0.4911 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.388/0.7983, allocations: 76.55 MB / 0.5658 GB, free: 47.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.7984, allocations: 0 / 0.5658 GB, free: 47.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.7986, allocations: 68 kB / 0.5659 GB, free: 47.12 MB / 378.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.01149/0.8101, allocations: 3.651 MB / 0.5695 GB, free: 43.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.8101, allocations: 8.031 kB / 0.5695 GB, free: 43.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.8195, allocations: 2.269 MB / 0.5717 GB, free: 41.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.8302, allocations: 3.799 MB / 0.5754 GB, free: 37.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.8306, allocations: 287.3 kB / 0.5757 GB, free: 36.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.8325, allocations: 379.7 kB / 0.576 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.8564, allocations: 10.48 MB / 0.5863 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/0.8568, allocations: 51.56 kB / 0.5863 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001963/0.8588, allocations: 183.9 kB / 0.5865 GB, free: 24.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/0.8604, allocations: 1.001 MB / 0.5875 GB, free: 23.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.8798, allocations: 8.769 MB / 0.596 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05541/0.9353, allocations: 44.71 MB / 0.6397 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.9455, allocations: 3.858 MB / 0.6435 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/0.9593, allocations: 7.629 MB / 0.6509 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.9594, allocations: 55.5 kB / 0.651 GB, free: 5.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.28e-06/0.9594, allocations: 3.938 kB / 0.651 GB, free: 5.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=166): time 0.2947/1.254, allocations: 17.33 MB / 0.6679 GB, free: 99.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/1.254, allocations: 154.8 kB / 0.668 GB, free: 99.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/1.258, allocations: 3.107 MB / 0.6711 GB, free: 98.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/1.258, allocations: 47.89 kB / 0.6711 GB, free: 98.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.26, allocations: 2.73 MB / 0.6738 GB, free: 97.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/1.26, allocations: 0.6495 MB / 0.6744 GB, free: 96.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.261, allocations: 108 kB / 0.6745 GB, free: 96.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/1.261, allocations: 0.5348 MB / 0.675 GB, free: 96.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/1.263, allocations: 1.942 MB / 0.6769 GB, free: 96.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003992/1.267, allocations: 5.322 MB / 0.6821 GB, free: 92.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/1.271, allocations: 3.133 MB / 0.6852 GB, free: 92.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.772e-05/1.272, allocations: 41.77 kB / 0.6852 GB, free: 92.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01492/1.286, allocations: 8.136 MB / 0.6932 GB, free: 90.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/1.287, allocations: 61.28 kB / 0.6932 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.287, allocations: 117.9 kB / 0.6934 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/1.29, allocations: 1.315 MB / 0.6946 GB, free: 90.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004083/1.295, allocations: 1.266 MB / 0.6959 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/1.302, allocations: 6.284 MB / 0.702 GB, free: 86.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/1.307, allocations: 346 kB / 0.7023 GB, free: 86.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009537/1.308, allocations: 349.1 kB / 0.7027 GB, free: 86.8 MB / 426.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 () * Number of clocked 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.003844/1.312, allocations: 1.806 MB / 0.7044 GB, free: 85.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/1.312, allocations: 303.2 kB / 0.7047 GB, free: 85.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00665/1.319, allocations: 3.35 MB / 0.708 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.319, allocations: 23.03 kB / 0.708 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.319, allocations: 11.89 kB / 0.708 GB, free: 84.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.319, allocations: 3.703 kB / 0.708 GB, free: 84.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.334, allocations: 7.58 MB / 0.7154 GB, free: 79.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.334, allocations: 0 / 0.7154 GB, free: 79.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.335, allocations: 242.1 kB / 0.7157 GB, free: 79.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/1.339, allocations: 1.119 MB / 0.7168 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/1.339, allocations: 30.3 kB / 0.7168 GB, free: 78.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/1.346, allocations: 5.94 MB / 0.7226 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.346, allocations: 0 / 0.7226 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008787/1.355, allocations: 5.74 MB / 0.7282 GB, free: 68.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/1.356, allocations: 359 kB / 0.7285 GB, free: 68.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/1.357, allocations: 23.25 kB / 0.7286 GB, free: 68.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.358, allocations: 110.7 kB / 0.7287 GB, free: 68.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/1.359, allocations: 87.45 kB / 0.7288 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.359, allocations: 44 kB / 0.7288 GB, free: 68.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003568/1.362, allocations: 2.156 MB / 0.7309 GB, free: 66.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.362, allocations: 0 / 0.7309 GB, free: 66.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005358/1.368, allocations: 0.9227 MB / 0.7318 GB, free: 65.34 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 () * Number of clocked 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.0008459/1.369, allocations: 184.5 kB / 0.732 GB, free: 65.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007338/1.376, allocations: 4.742 MB / 0.7366 GB, free: 61.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.376, allocations: 0 / 0.7366 GB, free: 61.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/1.378, allocations: 1.523 MB / 0.7381 GB, free: 59.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.38, allocations: 324.2 kB / 0.7384 GB, free: 59.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.395, allocations: 9.44 MB / 0.7476 GB, free: 50.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/1.399, allocations: 2.921 MB / 0.7505 GB, free: 48.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003985/1.403, allocations: 1.704 MB / 0.7521 GB, free: 47.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007305/1.403, allocations: 218.2 kB / 0.7523 GB, free: 47.32 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/1.403, allocations: 0 / 0.7523 GB, free: 47.32 MB / 426.7 MB Notification: Performance of Templates: time 0.04986/1.453, allocations: 31.79 MB / 0.7834 GB, free: 16.23 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches