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.002131/0.00213, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 100.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.591e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3411, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5039, allocations: 98.95 MB / 461.3 MB, free: 3.348 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.5043, allocations: 79.95 kB / 461.4 MB, free: 3.27 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6126/1.117, allocations: 74.07 MB / 0.5229 GB, free: 96.84 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.175e-06/1.117, allocations: 0 / 0.5229 GB, free: 96.84 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002023/1.117, allocations: 73.94 kB / 0.523 GB, free: 96.83 MB / 395.1 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.01286/1.13, allocations: 3.484 MB / 0.5264 GB, free: 95.25 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.13, allocations: 10.31 kB / 0.5264 GB, free: 95.25 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/1.147, allocations: 2.271 MB / 0.5286 GB, free: 94.99 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/1.162, allocations: 3.927 MB / 0.5324 GB, free: 94.47 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/1.163, allocations: 118.9 kB / 0.5325 GB, free: 94.47 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.165, allocations: 221.9 kB / 0.5327 GB, free: 94.46 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01341/1.178, allocations: 5.611 MB / 0.5382 GB, free: 93.7 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/1.199, allocations: 8.584 MB / 0.5466 GB, free: 88.91 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/1.199, allocations: 51.84 kB / 0.5467 GB, free: 88.88 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/1.201, allocations: 32.41 kB / 0.5467 GB, free: 88.88 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/1.203, allocations: 0.9961 MB / 0.5477 GB, free: 88.7 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06041/1.264, allocations: 43.88 MB / 0.5905 GB, free: 46.95 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/1.269, allocations: 2.779 MB / 0.5932 GB, free: 44.03 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/1.272, allocations: 1.661 MB / 0.5948 GB, free: 42.36 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.273, allocations: 0.8681 MB / 0.5957 GB, free: 41.35 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/1.273, allocations: 51.33 kB / 0.5957 GB, free: 41.29 MB / 395.1 MB Notification: Performance of pre-optimization done (n=157): time 6.131e-06/1.273, allocations: 0 / 0.5957 GB, free: 41.29 MB / 395.1 MB Notification: Performance of matching and sorting (n=173): time 0.05678/1.33, allocations: 15.85 MB / 0.6112 GB, free: 25.33 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.33, allocations: 141.8 kB / 0.6114 GB, free: 25.16 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/1.336, allocations: 2.626 MB / 0.6139 GB, free: 22.53 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004838/1.336, allocations: 25.7 kB / 0.6139 GB, free: 22.5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.338, allocations: 2.778 MB / 0.6167 GB, free: 19.68 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.34, allocations: 0.6516 MB / 0.6173 GB, free: 19.02 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006692/1.34, allocations: 4 kB / 0.6173 GB, free: 19.01 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003833/1.341, allocations: 0.5546 MB / 0.6178 GB, free: 18.45 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/1.345, allocations: 1.815 MB / 0.6196 GB, free: 16.62 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00661/1.352, allocations: 5.322 MB / 0.6248 GB, free: 9.523 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/1.358, allocations: 3.072 MB / 0.6278 GB, free: 6.453 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.359, allocations: 36 kB / 0.6278 GB, free: 6.418 MB / 395.1 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02308/1.382, allocations: 7.366 MB / 0.635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.382, allocations: 60.22 kB / 0.6351 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/1.382, allocations: 132 kB / 0.6352 GB, free: 14.86 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/1.39, allocations: 1.288 MB / 0.6365 GB, free: 13.56 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008568/1.398, allocations: 1.318 MB / 0.6378 GB, free: 12.24 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.414, allocations: 5.891 MB / 0.6435 GB, free: 6.238 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.421, allocations: 243.4 kB / 0.6438 GB, free: 6 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.422, allocations: 355.6 kB / 0.6441 GB, free: 5.656 MB / 411.1 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.001617/1.424, allocations: 425 kB / 0.6445 GB, free: 5.234 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008112/1.425, allocations: 284.4 kB / 0.6448 GB, free: 4.953 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.437, allocations: 3.199 MB / 0.6479 GB, free: 1.738 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-05/1.438, allocations: 27.94 kB / 0.6479 GB, free: 1.711 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.438, allocations: 4 kB / 0.6479 GB, free: 1.707 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/1.438, allocations: 11.97 kB / 0.6479 GB, free: 1.695 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3209/1.759, allocations: 7.068 MB / 0.6548 GB, free: 97.07 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.759, allocations: 1.219 kB / 0.6548 GB, free: 97.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.761, allocations: 250.5 kB / 0.6551 GB, free: 97.07 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007238/1.768, allocations: 1.097 MB / 0.6561 GB, free: 97.06 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/1.769, allocations: 12.28 kB / 0.6562 GB, free: 97.06 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/1.784, allocations: 5.46 MB / 0.6615 GB, free: 95.8 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.784, allocations: 1.812 kB / 0.6615 GB, free: 95.8 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.801, allocations: 5.636 MB / 0.667 GB, free: 95.28 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/1.803, allocations: 0.5545 MB / 0.6675 GB, free: 95.18 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009201/1.804, allocations: 1.375 kB / 0.6675 GB, free: 95.18 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.807, allocations: 80.53 kB / 0.6676 GB, free: 95.18 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/1.808, allocations: 98.73 kB / 0.6677 GB, free: 95.18 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.808, allocations: 46.61 kB / 0.6678 GB, free: 95.18 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.004583/1.813, allocations: 1.719 MB / 0.6694 GB, free: 95.03 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.172e-06/1.813, allocations: 0 / 0.6694 GB, free: 95.03 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007086/1.82, allocations: 0.7961 MB / 0.6702 GB, free: 95.03 MB / 411.1 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.0008785/1.821, allocations: 158.9 kB / 0.6704 GB, free: 94.95 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.831, allocations: 4.483 MB / 0.6747 GB, free: 93.86 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.831, allocations: 3.969 kB / 0.6747 GB, free: 93.86 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003709/1.835, allocations: 1.483 MB / 0.6762 GB, free: 93.28 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.838, allocations: 255.3 kB / 0.6764 GB, free: 93.16 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.86, allocations: 7.102 MB / 0.6834 GB, free: 90.73 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006037/1.866, allocations: 2.939 MB / 0.6862 GB, free: 89.56 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.868, allocations: 260.3 kB / 0.6865 GB, free: 89.54 MB / 411.1 MB Notification: Performance of SimCode: time 1.513e-06/1.868, allocations: 0 / 0.6865 GB, free: 89.54 MB / 411.1 MB Notification: Performance of Templates: time 0.1148/1.982, allocations: 61.58 MB / 0.7466 GB, free: 45.65 MB / 411.1 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