Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 115.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.218, allocations: 50.53 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.0105/0.2285, allocations: 10.26 MB / 420.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.2351, allocations: 3.893 MB / 424.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2361, allocations: 51.88 kB / 424.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.2399, allocations: 2.071 MB / 426.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.2431, allocations: 1.599 MB / 427.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.2445, allocations: 0.7018 MB / 428.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003773/0.2482, allocations: 3.389 MB / 431.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.2511, allocations: 2.677 MB / 434.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.2526, allocations: 1.25 MB / 435.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.2547, allocations: 1.764 MB / 437.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.2552, allocations: 260 kB / 437.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.2568, allocations: 1.104 MB / 439 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.2581, allocations: 1.566 MB / 440.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.2596, allocations: 1.84 MB / 442.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.2644, allocations: 5.891 MB / 448.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2644, allocations: 0 / 448.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2644, allocations: 0 / 448.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.951e-05/0.2645, allocations: 0 / 448.2 MB, free: 11.14 MB / 366.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.005974/0.2705, allocations: 4.102 MB / 452.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2705, allocations: 8.031 kB / 452.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.2767, allocations: 1.856 MB / 454.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.2803, allocations: 1.886 MB / 456.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.2805, allocations: 213.2 kB / 456.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/0.2809, allocations: 267.8 kB / 456.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.2959, allocations: 10 MB / 466.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.161e-05/0.296, allocations: 35.69 kB / 466.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/0.2963, allocations: 131.8 kB / 466.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/0.2991, allocations: 1.86 MB / 468.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.3147, allocations: 8.563 MB / 477.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03774/0.3525, allocations: 36.69 MB / 0.5018 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009575/0.3621, allocations: 3.901 MB / 0.5056 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.3644, allocations: 1.806 MB / 0.5074 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.3747, allocations: 7.618 MB / 0.5148 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3747, allocations: 51.55 kB / 0.5149 GB, free: 9.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.256e-06/0.3747, allocations: 0 / 0.5149 GB, free: 9.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.05039/0.4251, allocations: 17.54 MB / 0.532 GB, free: 8.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.4252, allocations: 145.5 kB / 0.5321 GB, free: 7.945 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/0.4298, allocations: 3.465 MB / 0.5355 GB, free: 4.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.4299, allocations: 49.7 kB / 0.5356 GB, free: 4.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.4316, allocations: 2.736 MB / 0.5382 GB, free: 1.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.4321, allocations: 0.6518 MB / 0.5389 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1697/0.6018, allocations: 1.108 MB / 0.54 GB, free: 126 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.6019, allocations: 307.8 kB / 0.5403 GB, free: 125.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.6057, allocations: 1.965 MB / 0.5422 GB, free: 125.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/0.6098, allocations: 5.391 MB / 0.5474 GB, free: 120.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006423/0.6163, allocations: 7.952 MB / 0.5552 GB, free: 113.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.871e-05/0.6163, allocations: 34.25 kB / 0.5552 GB, free: 113.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01202/0.6284, allocations: 8.197 MB / 0.5632 GB, free: 109.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.6284, allocations: 56 kB / 0.5633 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-05/0.6285, allocations: 120 kB / 0.5634 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.6321, allocations: 1.3 MB / 0.5647 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.6351, allocations: 1.27 MB / 0.5659 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/0.6421, allocations: 6.532 MB / 0.5723 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.6451, allocations: 308.3 kB / 0.5726 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.6454, allocations: 340 kB / 0.5729 GB, free: 100.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (685): * Single equations (assignments): 681 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001693/0.6471, allocations: 1.815 MB / 0.5747 GB, free: 99.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.6475, allocations: 309.1 kB / 0.575 GB, free: 98.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005975/0.6534, allocations: 3.377 MB / 0.5783 GB, free: 95.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6535, allocations: 11.97 kB / 0.5783 GB, free: 95.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6535, allocations: 6 kB / 0.5783 GB, free: 95.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.6539, allocations: 347 kB / 0.5786 GB, free: 95.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.6541, allocations: 31.94 kB / 0.5787 GB, free: 95.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6553, allocations: 95.44 kB / 0.5787 GB, free: 95.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.6556, allocations: 100.8 kB / 0.5788 GB, free: 95.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005835/0.6614, allocations: 3.654 MB / 0.5824 GB, free: 91.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004471/0.6659, allocations: 4.665 MB / 0.587 GB, free: 86.82 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001204/0.6671, allocations: 1.202 MB / 0.5881 GB, free: 85.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002121/0.6692, allocations: 2.142 MB / 0.5902 GB, free: 83.49 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.6692, allocations: 3.938 kB / 0.5902 GB, free: 83.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005684/0.6749, allocations: 3.987 MB / 0.5941 GB, free: 79.55 MB / 462.1 MB Notification: Performance of SimCode: time 0.007933/0.6829, allocations: 7.927 MB / 0.6019 GB, free: 71.59 MB / 462.1 MB Notification: Performance of Templates: time 0.05351/0.7364, allocations: 41.1 MB / 0.642 GB, free: 30.67 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches