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.0008785/0.0008786, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.288/1.288, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007795/0.0007796, allocations: 92.02 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 11.98 kB / 328.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3214, allocations: 99.86 MB / 475.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3216, allocations: 91.95 kB / 475.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3293/0.651, allocations: 74.76 MB / 0.5375 GB, free: 79.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6511, allocations: 0 / 0.5375 GB, free: 79.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001895/0.6513, allocations: 68 kB / 0.5376 GB, free: 79.67 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.01138/0.6627, allocations: 3.565 MB / 0.5411 GB, free: 76.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6627, allocations: 15.97 kB / 0.5411 GB, free: 76.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009437/0.6722, allocations: 2.188 MB / 0.5432 GB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.6786, allocations: 2.864 MB / 0.546 GB, free: 70.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.6789, allocations: 279.7 kB / 0.5463 GB, free: 70.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.6806, allocations: 380.1 kB / 0.5467 GB, free: 70.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.7026, allocations: 10.4 MB / 0.5568 GB, free: 58.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/0.7029, allocations: 51.75 kB / 0.5569 GB, free: 58.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.7044, allocations: 183.8 kB / 0.557 GB, free: 58.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/0.7062, allocations: 1.001 MB / 0.558 GB, free: 57.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.7236, allocations: 8.648 MB / 0.5665 GB, free: 49.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/0.7691, allocations: 44.67 MB / 0.6101 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/0.7783, allocations: 3.862 MB / 0.6139 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/0.7812, allocations: 1.794 MB / 0.6156 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01324/0.7945, allocations: 7.586 MB / 0.623 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.7946, allocations: 51.5 kB / 0.6231 GB, free: 5.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 7.404e-06/0.7946, allocations: 0 / 0.6231 GB, free: 5.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.05244/0.8471, allocations: 17.13 MB / 0.6398 GB, free: 3.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.8472, allocations: 145.5 kB / 0.6399 GB, free: 3.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007198/0.8544, allocations: 3.498 MB / 0.6434 GB, free: 216 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004453/0.8549, allocations: 53.7 kB / 0.6434 GB, free: 156 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2084/1.063, allocations: 2.73 MB / 0.6461 GB, free: 107.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007847/1.064, allocations: 0.6488 MB / 0.6467 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/1.065, allocations: 105.8 kB / 0.6468 GB, free: 107.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/1.065, allocations: 0.5389 MB / 0.6473 GB, free: 106.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/1.068, allocations: 1.939 MB / 0.6492 GB, free: 106.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/1.072, allocations: 5.359 MB / 0.6545 GB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008608/1.081, allocations: 7.881 MB / 0.6622 GB, free: 97.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000201/1.081, allocations: 35.22 kB / 0.6622 GB, free: 97.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01503/1.096, allocations: 8.144 MB / 0.6701 GB, free: 95.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/1.096, allocations: 57.25 kB / 0.6702 GB, free: 95.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/1.096, allocations: 121.3 kB / 0.6703 GB, free: 95.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/1.1, allocations: 1.297 MB / 0.6716 GB, free: 95.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/1.104, allocations: 1.263 MB / 0.6728 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/1.111, allocations: 6.122 MB / 0.6788 GB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.116, allocations: 345.4 kB / 0.6791 GB, free: 92.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009968/1.117, allocations: 340.3 kB / 0.6794 GB, free: 92.2 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.003347/1.12, allocations: 1.814 MB / 0.6812 GB, free: 91.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/1.121, allocations: 303.6 kB / 0.6815 GB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006345/1.127, allocations: 3.357 MB / 0.6848 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/1.127, allocations: 22.61 kB / 0.6848 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/1.127, allocations: 6 kB / 0.6848 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.127, allocations: 11.72 kB / 0.6848 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.143, allocations: 7.59 MB / 0.6922 GB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/1.143, allocations: 7.547 kB / 0.6922 GB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.144, allocations: 236.4 kB / 0.6925 GB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/1.147, allocations: 1.113 MB / 0.6936 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.148, allocations: 25.41 kB / 0.6936 GB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007116/1.155, allocations: 5.771 MB / 0.6992 GB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.155, allocations: 7.922 kB / 0.6992 GB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/1.164, allocations: 5.675 MB / 0.7048 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.165, allocations: 0.587 MB / 0.7053 GB, free: 76.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006911/1.166, allocations: 28 kB / 0.7054 GB, free: 76.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.167, allocations: 102 kB / 0.7055 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.168, allocations: 89.95 kB / 0.7055 GB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.168, allocations: 40 kB / 0.7056 GB, free: 76.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003986/1.172, allocations: 2.17 MB / 0.7077 GB, free: 74.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.172, allocations: 0 / 0.7077 GB, free: 74.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005282/1.177, allocations: 0.9254 MB / 0.7086 GB, free: 73.89 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.0005551/1.178, allocations: 181.7 kB / 0.7088 GB, free: 73.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007506/1.185, allocations: 4.735 MB / 0.7134 GB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.185, allocations: 4 kB / 0.7134 GB, free: 69.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/1.188, allocations: 1.525 MB / 0.7149 GB, free: 68.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.191, allocations: 349.4 kB / 0.7152 GB, free: 67.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/1.211, allocations: 9.899 MB / 0.7249 GB, free: 58.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/1.215, allocations: 2.859 MB / 0.7277 GB, free: 56.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.216, allocations: 259.4 kB / 0.7279 GB, free: 56.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/1.216, allocations: 3.938 kB / 0.7279 GB, free: 56.09 MB / 410.7 MB Notification: Performance of Templates: time 0.08896/1.305, allocations: 65.2 MB / 0.7916 GB, free: 7.133 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