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.0009884/0.0009882, allocations: 176.4 kB / 8.346 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.356/1.356, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009629/0.0009627, allocations: 89.52 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/1.996e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5262, allocations: 100.5 MB / 488 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5265, allocations: 87.95 kB / 488.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4681/0.9946, allocations: 74.99 MB / 0.5499 GB, free: 99.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9947, allocations: 0 / 0.5499 GB, free: 99.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002052/0.9949, allocations: 69.62 kB / 0.5499 GB, free: 99.06 MB / 426.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.01261/1.008, allocations: 3.484 MB / 0.5533 GB, free: 98.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.008, allocations: 9.125 kB / 0.5533 GB, free: 98.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/1.019, allocations: 2.272 MB / 0.5556 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.031, allocations: 3.773 MB / 0.5592 GB, free: 97.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/1.032, allocations: 124.9 kB / 0.5594 GB, free: 97.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.034, allocations: 218.3 kB / 0.5596 GB, free: 97.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0119/1.046, allocations: 5.615 MB / 0.5651 GB, free: 97.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/1.063, allocations: 8.578 MB / 0.5734 GB, free: 95.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/1.064, allocations: 51.97 kB / 0.5735 GB, free: 95.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/1.064, allocations: 27.94 kB / 0.5735 GB, free: 95.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001514/1.066, allocations: 1.001 MB / 0.5745 GB, free: 95.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/1.105, allocations: 43.85 MB / 0.6173 GB, free: 63.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/1.108, allocations: 2.791 MB / 0.62 GB, free: 62.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.11, allocations: 1.665 MB / 0.6217 GB, free: 61.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/1.11, allocations: 0.8679 MB / 0.6225 GB, free: 60.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.11, allocations: 54.69 kB / 0.6226 GB, free: 60.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 4.528e-06/1.11, allocations: 0 / 0.6226 GB, free: 60.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=173): time 0.03297/1.143, allocations: 15.79 MB / 0.638 GB, free: 54.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.143, allocations: 148.9 kB / 0.6381 GB, free: 54.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/1.147, allocations: 2.6 MB / 0.6407 GB, free: 53.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000345/1.147, allocations: 29.7 kB / 0.6407 GB, free: 53.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.149, allocations: 2.779 MB / 0.6434 GB, free: 50.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/1.149, allocations: 0.6482 MB / 0.644 GB, free: 50.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.149, allocations: 4 kB / 0.644 GB, free: 50.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/1.15, allocations: 0.5468 MB / 0.6446 GB, free: 49.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.152, allocations: 1.818 MB / 0.6463 GB, free: 47.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/1.155, allocations: 5.333 MB / 0.6516 GB, free: 41.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/1.158, allocations: 3.066 MB / 0.6546 GB, free: 38.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.174e-05/1.158, allocations: 36 kB / 0.6546 GB, free: 38.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01143/1.169, allocations: 7.418 MB / 0.6618 GB, free: 32.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/1.17, allocations: 60 kB / 0.6619 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.46e-05/1.17, allocations: 124 kB / 0.662 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/1.173, allocations: 1.297 MB / 0.6633 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.177, allocations: 1.324 MB / 0.6646 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/1.184, allocations: 5.884 MB / 0.6703 GB, free: 24.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.188, allocations: 238.7 kB / 0.6705 GB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.19, allocations: 357.6 kB / 0.6709 GB, free: 24.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 (710): * Single equations (assignments): 706 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001616/1.191, allocations: 416.7 kB / 0.6713 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/1.192, allocations: 284.4 kB / 0.6715 GB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/1.199, allocations: 3.211 MB / 0.6747 GB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.199, allocations: 23.84 kB / 0.6747 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.199, allocations: 4 kB / 0.6747 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/1.199, allocations: 7.219 kB / 0.6747 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.213, allocations: 7.085 MB / 0.6816 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.213, allocations: 4 kB / 0.6816 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.215, allocations: 251.6 kB / 0.6819 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/1.218, allocations: 1.106 MB / 0.683 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/1.218, allocations: 11.94 kB / 0.683 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/1.225, allocations: 5.455 MB / 0.6883 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.225, allocations: 0 / 0.6883 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008586/1.234, allocations: 5.639 MB / 0.6938 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.235, allocations: 325.4 kB / 0.6941 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008446/1.236, allocations: 3.984 kB / 0.6941 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.237, allocations: 75.88 kB / 0.6942 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.238, allocations: 101.1 kB / 0.6943 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.238, allocations: 44 kB / 0.6943 GB, free: 2.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002352/1.24, allocations: 1.708 MB / 0.696 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.24, allocations: 0 / 0.696 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004512/1.245, allocations: 0.7922 MB / 0.6968 GB, free: 15.91 MB / 442.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 (136): * Single equations (assignments): 132 * 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.0004843/1.245, allocations: 170.1 kB / 0.6969 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007391/1.253, allocations: 4.483 MB / 0.7013 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.253, allocations: 0 / 0.7013 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.255, allocations: 1.478 MB / 0.7028 GB, free: 9.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.257, allocations: 249.1 kB / 0.703 GB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.278, allocations: 6.711 MB / 0.7095 GB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2435/1.521, allocations: 2.915 MB / 0.7124 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005675/1.527, allocations: 1.777 MB / 0.7141 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/1.528, allocations: 206.8 kB / 0.7143 GB, free: 100.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.153e-06/1.528, allocations: 0 / 0.7143 GB, free: 100.1 MB / 442.7 MB Notification: Performance of Templates: time 0.07135/1.599, allocations: 28.31 MB / 0.742 GB, free: 99.02 MB / 442.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