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.0009741/0.0009742, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.346/1.346, allocations: 221.4 MB / 235.5 MB, free: 2.898 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.001058/0.001058, allocations: 87.62 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.371e-05, allocations: 0 / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 50.41 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.715, allocations: 101.2 MB / 495.4 MB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.7153, allocations: 91.72 kB / 495.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4933/1.209, allocations: 76.59 MB / 0.5587 GB, free: 99.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.209, allocations: 2.969 kB / 0.5587 GB, free: 99.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001523/1.209, allocations: 71.41 kB / 0.5588 GB, free: 99.19 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.0102/1.219, allocations: 3.487 MB / 0.5622 GB, free: 97.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.219, allocations: 8.531 kB / 0.5622 GB, free: 97.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.229, allocations: 2.273 MB / 0.5644 GB, free: 97.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/1.241, allocations: 3.786 MB / 0.5681 GB, free: 96.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/1.242, allocations: 284.8 kB / 0.5684 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/1.243, allocations: 368.5 kB / 0.5687 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1.265, allocations: 10.39 MB / 0.5789 GB, free: 94.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/1.265, allocations: 56.31 kB / 0.5789 GB, free: 94.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000587/1.266, allocations: 188.5 kB / 0.5791 GB, free: 94.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/1.267, allocations: 0.9974 MB / 0.5801 GB, free: 94.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/1.284, allocations: 8.577 MB / 0.5885 GB, free: 93.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04061/1.324, allocations: 44.71 MB / 0.6321 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/1.333, allocations: 3.847 MB / 0.6359 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/1.335, allocations: 1.766 MB / 0.6376 GB, free: 56.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/1.346, allocations: 7.624 MB / 0.6451 GB, free: 50.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/1.346, allocations: 55.3 kB / 0.6451 GB, free: 50.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.158e-06/1.346, allocations: 0 / 0.6451 GB, free: 50.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=166): time 0.03799/1.384, allocations: 14.65 MB / 0.6594 GB, free: 38.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.384, allocations: 157.5 kB / 0.6596 GB, free: 38.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/1.387, allocations: 3.046 MB / 0.6625 GB, free: 35.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/1.388, allocations: 49.7 kB / 0.6626 GB, free: 34.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.389, allocations: 2.735 MB / 0.6653 GB, free: 32.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/1.389, allocations: 0.6399 MB / 0.6659 GB, free: 31.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.389, allocations: 111.9 kB / 0.666 GB, free: 31.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/1.39, allocations: 0.5336 MB / 0.6665 GB, free: 30.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/1.392, allocations: 1.873 MB / 0.6683 GB, free: 29.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/1.395, allocations: 5.255 MB / 0.6735 GB, free: 22.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/1.399, allocations: 3.09 MB / 0.6765 GB, free: 19.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/1.399, allocations: 40 kB / 0.6765 GB, free: 18.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01204/1.411, allocations: 7.987 MB / 0.6843 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/1.411, allocations: 59.98 kB / 0.6844 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.651e-05/1.411, allocations: 120 kB / 0.6845 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/1.415, allocations: 1.305 MB / 0.6858 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/1.418, allocations: 1.275 MB / 0.687 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/1.425, allocations: 6.109 MB / 0.693 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/1.43, allocations: 339.5 kB / 0.6933 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/1.43, allocations: 344 kB / 0.6936 GB, free: 1.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (679): * Single equations (assignments): 675 * 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.0006612/1.431, allocations: 0.5284 MB / 0.6941 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/1.431, allocations: 308 kB / 0.6944 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007246/1.439, allocations: 3.319 MB / 0.6977 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/1.439, allocations: 20 kB / 0.6977 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.439, allocations: 7.938 kB / 0.6977 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.439, allocations: 7.969 kB / 0.6977 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.455, allocations: 7.572 MB / 0.7051 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.455, allocations: 7.891 kB / 0.7051 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.456, allocations: 239.7 kB / 0.7053 GB, free: 5.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004073/1.46, allocations: 1.113 MB / 0.7064 GB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/1.461, allocations: 28 kB / 0.7065 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2404/1.701, allocations: 5.752 MB / 0.7121 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.701, allocations: 4.656 kB / 0.7121 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.712, allocations: 5.686 MB / 0.7176 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.713, allocations: 357.1 kB / 0.718 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/1.713, allocations: 24.06 kB / 0.718 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.715, allocations: 108.6 kB / 0.7181 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/1.715, allocations: 88.28 kB / 0.7182 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.715, allocations: 44.66 kB / 0.7182 GB, free: 101.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004103/1.719, allocations: 2.091 MB / 0.7203 GB, free: 101.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.719, allocations: 0 / 0.7203 GB, free: 101.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00535/1.725, allocations: 0.9248 MB / 0.7212 GB, free: 101.1 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 (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.0005344/1.725, allocations: 181.5 kB / 0.7213 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007757/1.733, allocations: 4.648 MB / 0.7259 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.733, allocations: 2 kB / 0.7259 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/1.735, allocations: 1.506 MB / 0.7274 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.738, allocations: 326 kB / 0.7277 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.751, allocations: 6.586 MB / 0.7341 GB, free: 99.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/1.754, allocations: 2.927 MB / 0.737 GB, free: 98.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003838/1.757, allocations: 1.704 MB / 0.7386 GB, free: 98.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/1.758, allocations: 214.9 kB / 0.7388 GB, free: 98.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/1.758, allocations: 0 / 0.7388 GB, free: 98.64 MB / 442.7 MB Notification: Performance of Templates: time 0.04948/1.807, allocations: 31.78 MB / 0.7699 GB, free: 96.62 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