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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 182.3 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 224.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008087/0.0008086, allocations: 90.03 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.3255, allocations: 99.87 MB / 476.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.3259, allocations: 99.95 kB / 477 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3453/0.6712, allocations: 74.75 MB / 0.5388 GB, free: 79.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6712, allocations: 0 / 0.5388 GB, free: 79.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.6714, allocations: 68 kB / 0.5389 GB, free: 79.52 MB / 378.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.01034/0.6817, allocations: 3.569 MB / 0.5424 GB, free: 75.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.6818, allocations: 8.031 kB / 0.5424 GB, free: 75.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009255/0.691, allocations: 2.195 MB / 0.5445 GB, free: 73.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.697, allocations: 2.864 MB / 0.5473 GB, free: 70.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.6973, allocations: 275.7 kB / 0.5476 GB, free: 70.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/0.6987, allocations: 372.2 kB / 0.5479 GB, free: 70.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.7175, allocations: 10.41 MB / 0.5581 GB, free: 58.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.7177, allocations: 47.75 kB / 0.5581 GB, free: 58.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/0.7189, allocations: 187.8 kB / 0.5583 GB, free: 58.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.7201, allocations: 1.001 MB / 0.5593 GB, free: 57.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.7355, allocations: 8.656 MB / 0.5677 GB, free: 48.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.7768, allocations: 44.67 MB / 0.6114 GB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/0.7854, allocations: 3.866 MB / 0.6151 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/0.7882, allocations: 1.783 MB / 0.6169 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/0.8008, allocations: 7.589 MB / 0.6243 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.8008, allocations: 47.56 kB / 0.6243 GB, free: 5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 5.681e-06/0.8009, allocations: 4 kB / 0.6243 GB, free: 4.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.05144/0.8523, allocations: 17.13 MB / 0.6411 GB, free: 3.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.8525, allocations: 161.4 kB / 0.6412 GB, free: 3.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007729/0.8602, allocations: 3.494 MB / 0.6446 GB, free: 48 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1879/1.048, allocations: 45.84 kB / 0.6447 GB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003124/1.051, allocations: 2.739 MB / 0.6474 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.052, allocations: 0.6452 MB / 0.648 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.053, allocations: 110.9 kB / 0.6481 GB, free: 107.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002922/1.053, allocations: 0.535 MB / 0.6486 GB, free: 107.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/1.056, allocations: 1.943 MB / 0.6505 GB, free: 107.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/1.06, allocations: 5.346 MB / 0.6557 GB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/1.069, allocations: 7.89 MB / 0.6634 GB, free: 98.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/1.069, allocations: 34.31 kB / 0.6635 GB, free: 98.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01618/1.086, allocations: 8.142 MB / 0.6714 GB, free: 96.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/1.086, allocations: 57.69 kB / 0.6715 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/1.086, allocations: 121.1 kB / 0.6716 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003781/1.09, allocations: 1.288 MB / 0.6729 GB, free: 96.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00404/1.094, allocations: 1.275 MB / 0.6741 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007635/1.102, allocations: 6.122 MB / 0.6801 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/1.106, allocations: 341.6 kB / 0.6804 GB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/1.107, allocations: 336 kB / 0.6807 GB, free: 92.91 MB / 410.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 () * Number of clocked 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.00254/1.109, allocations: 1.815 MB / 0.6825 GB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/1.11, allocations: 306 kB / 0.6828 GB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/1.116, allocations: 3.355 MB / 0.6861 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.116, allocations: 19.47 kB / 0.6861 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.116, allocations: 3.812 kB / 0.6861 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.116, allocations: 7.875 kB / 0.6861 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.129, allocations: 7.596 MB / 0.6935 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.129, allocations: 3 kB / 0.6935 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.13, allocations: 237.8 kB / 0.6937 GB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/1.133, allocations: 1.12 MB / 0.6948 GB, free: 87.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.133, allocations: 32 kB / 0.6949 GB, free: 87.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007095/1.141, allocations: 5.761 MB / 0.7005 GB, free: 82.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.141, allocations: 11.77 kB / 0.7005 GB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/1.149, allocations: 5.675 MB / 0.706 GB, free: 77.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.15, allocations: 0.5808 MB / 0.7066 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/1.15, allocations: 24 kB / 0.7066 GB, free: 77.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.152, allocations: 107 kB / 0.7067 GB, free: 77.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.152, allocations: 92.72 kB / 0.7068 GB, free: 77.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.152, allocations: 45.56 kB / 0.7069 GB, free: 77.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002907/1.155, allocations: 2.166 MB / 0.709 GB, free: 75.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.155, allocations: 0 / 0.709 GB, free: 75.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004192/1.159, allocations: 0.9204 MB / 0.7099 GB, free: 74.55 MB / 410.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 (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.0003935/1.16, allocations: 182.5 kB / 0.7101 GB, free: 74.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006056/1.166, allocations: 4.744 MB / 0.7147 GB, free: 70.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.166, allocations: 4 kB / 0.7147 GB, free: 70.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.167, allocations: 1.521 MB / 0.7162 GB, free: 68.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.17, allocations: 343 kB / 0.7165 GB, free: 68.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.181, allocations: 9.498 MB / 0.7258 GB, free: 59.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.183, allocations: 2.858 MB / 0.7286 GB, free: 57.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003742/1.187, allocations: 1.701 MB / 0.7302 GB, free: 55.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/1.188, allocations: 219.4 kB / 0.7304 GB, free: 55.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.188, allocations: 0 / 0.7304 GB, free: 55.57 MB / 410.7 MB Notification: Performance of Templates: time 0.04687/1.235, allocations: 31.86 MB / 0.7616 GB, free: 24.08 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (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) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches