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.001425/0.001425, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 98.55 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008581/0.0008581, allocations: 43.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2514, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02303/0.2745, allocations: 34.75 MB / 434.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2906, allocations: 7.914 MB / 442.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/0.2964, allocations: 143.6 kB / 442.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003988/0.3004, allocations: 2.057 MB / 444.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.3046, allocations: 1.526 MB / 445.9 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.3064, allocations: 0.6358 MB / 446.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.3115, allocations: 4.779 MB / 451.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.3145, allocations: 2.676 MB / 454 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.3162, allocations: 1.125 MB / 455.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.3185, allocations: 1.885 MB / 457 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004255/0.3189, allocations: 196 kB / 457.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.3209, allocations: 1.123 MB / 458.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.3223, allocations: 1.531 MB / 459.8 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3239, allocations: 1.817 MB / 461.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.3288, allocations: 5.681 MB / 467.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3289, allocations: 0 / 467.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3289, allocations: 0 / 467.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.562e-05/0.329, allocations: 0 / 467.3 MB, free: 13.25 MB / 346.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.006345/0.3353, allocations: 4.122 MB / 471.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3354, allocations: 8.031 kB / 471.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/0.3418, allocations: 1.864 MB / 473.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/0.3459, allocations: 1.878 MB / 475.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.3461, allocations: 213.2 kB / 475.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006206/0.3467, allocations: 267.9 kB / 475.6 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.3659, allocations: 9.973 MB / 485.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.366, allocations: 43.67 kB / 485.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/0.3664, allocations: 127.9 kB / 485.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.3696, allocations: 1.856 MB / 487.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.3874, allocations: 8.536 MB / 496.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2085/0.5959, allocations: 36.84 MB / 0.5205 GB, free: 73.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008555/0.6045, allocations: 3.879 MB / 0.5243 GB, free: 72.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.6064, allocations: 1.809 MB / 0.5261 GB, free: 71.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009371/0.6158, allocations: 7.53 MB / 0.5334 GB, free: 66.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.6158, allocations: 51.3 kB / 0.5335 GB, free: 66.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.118e-06/0.6159, allocations: 3.062 kB / 0.5335 GB, free: 66.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.04383/0.6597, allocations: 17.43 MB / 0.5505 GB, free: 48.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.6598, allocations: 148.5 kB / 0.5507 GB, free: 48.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.6632, allocations: 3.473 MB / 0.554 GB, free: 45.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.6633, allocations: 49.7 kB / 0.5541 GB, free: 45.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/0.6643, allocations: 2.731 MB / 0.5568 GB, free: 42.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.6647, allocations: 0.6435 MB / 0.5574 GB, free: 41.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.6657, allocations: 1.115 MB / 0.5585 GB, free: 40.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.6657, allocations: 309.1 kB / 0.5588 GB, free: 40.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.6679, allocations: 1.947 MB / 0.5607 GB, free: 38.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.671, allocations: 5.375 MB / 0.5659 GB, free: 31.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005761/0.6768, allocations: 7.939 MB / 0.5737 GB, free: 21.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.534e-05/0.6769, allocations: 34.81 kB / 0.5737 GB, free: 21.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01309/0.69, allocations: 8.166 MB / 0.5817 GB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.6901, allocations: 56 kB / 0.5817 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.6902, allocations: 127.1 kB / 0.5819 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/0.6941, allocations: 1.3 MB / 0.5831 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/0.6977, allocations: 1.259 MB / 0.5844 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/0.7047, allocations: 6.101 MB / 0.5903 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.7083, allocations: 303.6 kB / 0.5906 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000444/0.7088, allocations: 340 kB / 0.5909 GB, free: 3.941 MB / 378.7 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.00191/0.7107, allocations: 1.807 MB / 0.5927 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.7111, allocations: 308 kB / 0.593 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006769/0.7179, allocations: 3.367 MB / 0.5963 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.7179, allocations: 23.59 kB / 0.5963 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7179, allocations: 4 kB / 0.5963 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7179, allocations: 11.97 kB / 0.5963 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.7327, allocations: 7.583 MB / 0.6037 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.7327, allocations: 8 kB / 0.6037 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.7339, allocations: 243.7 kB / 0.604 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003871/0.7378, allocations: 1.115 MB / 0.605 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.7381, allocations: 31.98 kB / 0.6051 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008473/0.7466, allocations: 5.717 MB / 0.6107 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7466, allocations: 0 / 0.6107 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08316/0.8298, allocations: 39.84 MB / 0.6496 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/0.8308, allocations: 353.1 kB / 0.6499 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/0.8316, allocations: 26.19 kB / 0.6499 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.8335, allocations: 91.97 kB / 0.65 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.8339, allocations: 84.86 kB / 0.6501 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/0.8342, allocations: 59.86 kB / 0.6502 GB, free: 6.754 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00382/0.838, allocations: 2.142 MB / 0.6522 GB, free: 4.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.838, allocations: 0 / 0.6522 GB, free: 4.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005565/0.8436, allocations: 1.241 MB / 0.6535 GB, free: 3.387 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 () * 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 (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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005171/0.8441, allocations: 168.2 kB / 0.6536 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007735/0.8519, allocations: 4.788 MB / 0.6583 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8519, allocations: 0 / 0.6583 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.8544, allocations: 1.542 MB / 0.6598 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.8569, allocations: 336.4 kB / 0.6601 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.8745, allocations: 11.09 MB / 0.6709 GB, free: 1.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1738/1.048, allocations: 2.904 MB / 0.6738 GB, free: 160.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004387/1.053, allocations: 1.751 MB / 0.6755 GB, free: 160.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/1.053, allocations: 224.1 kB / 0.6757 GB, free: 160.2 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.053, allocations: 1.031 kB / 0.6757 GB, free: 160.2 MB / 458.7 MB Notification: Performance of Templates: time 0.05698/1.11, allocations: 44.57 MB / 0.7192 GB, free: 127.7 MB / 458.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@2/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