Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009872, allocations: 97.33 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000963/0.0009628, allocations: 182.7 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08502, allocations: 47.58 MB / 328.3 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02673/0.1118, allocations: 29.72 MB / 358 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.1274, allocations: 7.729 MB / 365.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005307/0.1328, allocations: 143.6 kB / 365.9 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.1371, allocations: 1.435 MB / 367.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.1491, allocations: 4.332 MB / 371.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1515, allocations: 0.5615 MB / 372.2 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.1555, allocations: 1.942 MB / 374.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005013/0.1606, allocations: 3.341 MB / 377.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.1622, allocations: 0.8759 MB / 378.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.1641, allocations: 1.195 MB / 379.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.1647, allocations: 124 kB / 379.7 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1715/0.3362, allocations: 0.8333 MB / 380.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.3381, allocations: 1.309 MB / 381.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3391, allocations: 0.7054 MB / 382.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.345, allocations: 4.497 MB / 387.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.345, allocations: 2.719 kB / 387.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.345, allocations: 0 / 387.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.3451, allocations: 0 / 387.1 MB, free: 12.43 MB / 318.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.00854/0.3537, allocations: 3.491 MB / 390.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3538, allocations: 9.812 kB / 390.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00855/0.3623, allocations: 2.239 MB / 392.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.3673, allocations: 2.068 MB / 394.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3675, allocations: 205.7 kB / 395.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/0.3682, allocations: 273.1 kB / 395.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.3855, allocations: 10.08 MB / 405.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.375e-05/0.3856, allocations: 41.42 kB / 405.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.386, allocations: 138.9 kB / 405.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002701/0.3887, allocations: 1.849 MB / 407.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.4045, allocations: 8.639 MB / 416.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/0.4508, allocations: 37.38 MB / 453.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.4686, allocations: 6.436 MB / 459.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.4832, allocations: 8.582 MB / 468.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4832, allocations: 49.91 kB / 468.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=150): time 4.258e-06/0.4833, allocations: 0 / 468.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.07041/0.5537, allocations: 23.75 MB / 492.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.5538, allocations: 145.5 kB / 492.4 MB, free: 13.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005816/0.5596, allocations: 3.595 MB / 496 MB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.5598, allocations: 47.89 kB / 496.1 MB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.5618, allocations: 2.736 MB / 498.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/0.5625, allocations: 0.648 MB / 499.5 MB, free: 6.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.5628, allocations: 108 kB / 499.6 MB, free: 6.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003534/0.5632, allocations: 0.5414 MB / 0.4884 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/0.5663, allocations: 2.028 MB / 0.4904 GB, free: 3.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/0.5718, allocations: 5.423 MB / 0.4957 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/0.5765, allocations: 3.205 MB / 0.4988 GB, free: 9.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.504e-05/0.5766, allocations: 36 kB / 0.4988 GB, free: 9.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01498/0.5916, allocations: 8.305 MB / 0.5069 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.5917, allocations: 59.28 kB / 0.507 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/0.5919, allocations: 121.8 kB / 0.5071 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/0.596, allocations: 1.327 MB / 0.5084 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.6003, allocations: 1.275 MB / 0.5096 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/0.6093, allocations: 6.262 MB / 0.5158 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.6135, allocations: 330.1 kB / 0.5161 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007992/0.6144, allocations: 340.5 kB / 0.5164 GB, free: 8.152 MB / 430.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 (681): * Single equations (assignments): 677 * 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.003604/0.618, allocations: 1.81 MB / 0.5182 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.6186, allocations: 312.1 kB / 0.5185 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/0.6262, allocations: 3.59 MB / 0.522 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.6262, allocations: 16 kB / 0.522 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6263, allocations: 8 kB / 0.522 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.6263, allocations: 3.984 kB / 0.522 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.6432, allocations: 7.991 MB / 0.5298 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.6432, allocations: 0 / 0.5298 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.6445, allocations: 261.4 kB / 0.53 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/0.6482, allocations: 1.12 MB / 0.5311 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.6484, allocations: 27.95 kB / 0.5312 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008536/0.6569, allocations: 5.887 MB / 0.5369 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6569, allocations: 0 / 0.5369 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1776/0.8346, allocations: 6.119 MB / 0.5429 GB, free: 163.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.8364, allocations: 0.6161 MB / 0.5435 GB, free: 163.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007919/0.8372, allocations: 27.78 kB / 0.5435 GB, free: 163.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.8388, allocations: 118.3 kB / 0.5436 GB, free: 163.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.8391, allocations: 86.47 kB / 0.5437 GB, free: 163.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.8392, allocations: 39.97 kB / 0.5438 GB, free: 163.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003509/0.8428, allocations: 2.235 MB / 0.5459 GB, free: 163.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8428, allocations: 3.531 kB / 0.5459 GB, free: 163.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005222/0.848, allocations: 0.9431 MB / 0.5469 GB, free: 163.5 MB / 446.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 () * 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.0006728/0.8487, allocations: 184.4 kB / 0.547 GB, free: 163.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006978/0.8557, allocations: 4.944 MB / 0.5519 GB, free: 161.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8557, allocations: 3.719 kB / 0.5519 GB, free: 161.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.8577, allocations: 1.625 MB / 0.5535 GB, free: 161.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.8595, allocations: 330 kB / 0.5538 GB, free: 161 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8714, allocations: 9.665 MB / 0.5632 GB, free: 156.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.8738, allocations: 2.931 MB / 0.5661 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003749/0.8775, allocations: 1.742 MB / 0.5678 GB, free: 153.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.8781, allocations: 220.7 kB / 0.568 GB, free: 153.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.854e-06/0.8781, allocations: 0 / 0.568 GB, free: 153.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04934/0.9274, allocations: 32.77 MB / 0.6 GB, free: 120.9 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches