Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009983/0.0009984, allocations: 180.7 kB / 17.02 MB, free: 5.121 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.323/1.323, allocations: 205.4 MB / 223.1 MB, free: 9.047 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.0008607/0.0008607, allocations: 104.1 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4151, allocations: 99.7 MB / 475.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4154, allocations: 91.95 kB / 475.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3812/0.7966, allocations: 75.65 MB / 0.5383 GB, free: 79.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.7966, allocations: 0 / 0.5383 GB, free: 79.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001727/0.7968, allocations: 72 kB / 0.5384 GB, free: 79.07 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.01071/0.8075, allocations: 3.663 MB / 0.542 GB, free: 75.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.8076, allocations: 8.031 kB / 0.542 GB, free: 75.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009782/0.8174, allocations: 2.269 MB / 0.5442 GB, free: 73.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.8282, allocations: 3.956 MB / 0.5481 GB, free: 69.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.8285, allocations: 283.3 kB / 0.5483 GB, free: 68.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.8305, allocations: 371.8 kB / 0.5487 GB, free: 68.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.8523, allocations: 10.48 MB / 0.5589 GB, free: 56.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.8526, allocations: 59.47 kB / 0.559 GB, free: 56.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001351/0.854, allocations: 183.9 kB / 0.5592 GB, free: 56.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.8553, allocations: 0.9937 MB / 0.5601 GB, free: 55.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.8716, allocations: 8.761 MB / 0.5687 GB, free: 46.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04239/0.914, allocations: 44.73 MB / 0.6124 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009771/0.9239, allocations: 3.881 MB / 0.6162 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.9373, allocations: 7.629 MB / 0.6236 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.9374, allocations: 47.5 kB / 0.6237 GB, free: 4.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 4.358e-06/0.9374, allocations: 0 / 0.6237 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.0515/0.9889, allocations: 17.38 MB / 0.6406 GB, free: 3.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.9891, allocations: 141.5 kB / 0.6408 GB, free: 3.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2037/1.193, allocations: 3.122 MB / 0.6438 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004587/1.193, allocations: 48.39 kB / 0.6439 GB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.196, allocations: 2.742 MB / 0.6465 GB, free: 106.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/1.196, allocations: 0.6365 MB / 0.6472 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.197, allocations: 108.9 kB / 0.6473 GB, free: 105.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/1.197, allocations: 0.5397 MB / 0.6478 GB, free: 105.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002913/1.2, allocations: 1.945 MB / 0.6497 GB, free: 105.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004696/1.205, allocations: 5.327 MB / 0.6549 GB, free: 101 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005807/1.21, allocations: 3.124 MB / 0.6579 GB, free: 101 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.211, allocations: 34.88 kB / 0.658 GB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01638/1.227, allocations: 8.144 MB / 0.6659 GB, free: 99.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/1.227, allocations: 59.33 kB / 0.666 GB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/1.227, allocations: 121.3 kB / 0.6661 GB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/1.231, allocations: 1.312 MB / 0.6674 GB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.235, allocations: 1.267 MB / 0.6686 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/1.243, allocations: 6.3 MB / 0.6748 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/1.248, allocations: 338.3 kB / 0.6751 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008961/1.249, allocations: 340.5 kB / 0.6754 GB, free: 96.27 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 () * 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.003817/1.253, allocations: 1.81 MB / 0.6772 GB, free: 95.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/1.253, allocations: 307.4 kB / 0.6775 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/1.26, allocations: 3.355 MB / 0.6808 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/1.26, allocations: 15.66 kB / 0.6808 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.26, allocations: 7.281 kB / 0.6808 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.26, allocations: 11.22 kB / 0.6808 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.277, allocations: 7.592 MB / 0.6882 GB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.277, allocations: 0 / 0.6882 GB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.278, allocations: 248.9 kB / 0.6884 GB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.282, allocations: 1.116 MB / 0.6895 GB, free: 91.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/1.282, allocations: 32.77 kB / 0.6896 GB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007438/1.29, allocations: 5.932 MB / 0.6954 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.29, allocations: 0 / 0.6954 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008841/1.299, allocations: 5.746 MB / 0.701 GB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.3, allocations: 0.5795 MB / 0.7015 GB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007063/1.301, allocations: 20 kB / 0.7015 GB, free: 82.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.302, allocations: 113.7 kB / 0.7017 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/1.303, allocations: 84.25 kB / 0.7017 GB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.303, allocations: 51.17 kB / 0.7018 GB, free: 82.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002971/1.306, allocations: 2.167 MB / 0.7039 GB, free: 80.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.306, allocations: 0 / 0.7039 GB, free: 80.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004069/1.31, allocations: 0.9216 MB / 0.7048 GB, free: 79.74 MB / 410.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.0004115/1.31, allocations: 177.9 kB / 0.705 GB, free: 79.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006174/1.316, allocations: 4.749 MB / 0.7096 GB, free: 75.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.317, allocations: 0 / 0.7096 GB, free: 75.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.318, allocations: 1.524 MB / 0.7111 GB, free: 74.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.32, allocations: 326.3 kB / 0.7114 GB, free: 73.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.333, allocations: 9.459 MB / 0.7206 GB, free: 65.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/1.336, allocations: 2.93 MB / 0.7235 GB, free: 62.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003764/1.339, allocations: 1.707 MB / 0.7252 GB, free: 61.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/1.34, allocations: 215.4 kB / 0.7254 GB, free: 61.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/1.34, allocations: 0 / 0.7254 GB, free: 61.23 MB / 410.7 MB Notification: Performance of Templates: time 0.05118/1.391, allocations: 31.79 MB / 0.7564 GB, free: 29.82 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches