Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008508/0.0008507, allocations: 93.89 kB / 297.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002056, allocations: 7.984 kB / 357.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2065, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3141, allocations: 99.22 MB / 0.4967 GB, free: 7.387 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3144, allocations: 95.95 kB / 0.4968 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3887/0.7031, allocations: 95.93 MB / 0.5905 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7032, allocations: 0 / 0.5905 GB, free: 19.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003098/0.7035, allocations: 84 kB / 0.5906 GB, free: 19.47 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01638/0.7199, allocations: 4.828 MB / 0.5953 GB, free: 14.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.72, allocations: 11.97 kB / 0.5953 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/0.7443, allocations: 6.702 MB / 0.6018 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.7588, allocations: 5.2 MB / 0.6069 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.7592, allocations: 316.4 kB / 0.6072 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/0.7615, allocations: 435.7 kB / 0.6076 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.7858, allocations: 10.22 MB / 0.6176 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004731/0.7863, allocations: 63.45 kB / 0.6177 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002205/0.7886, allocations: 207.9 kB / 0.6179 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/0.7904, allocations: 0.9718 MB / 0.6188 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.8085, allocations: 8.398 MB / 0.627 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2656/1.074, allocations: 45.13 MB / 0.6711 GB, free: 89.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008324/1.083, allocations: 3.881 MB / 0.6749 GB, free: 88.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/1.083, allocations: 0.6534 MB / 0.6755 GB, free: 88.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/1.083, allocations: 52.84 kB / 0.6756 GB, free: 88.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 6.984e-06/1.083, allocations: 0.9062 kB / 0.6756 GB, free: 88.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.05248/1.136, allocations: 20.82 MB / 0.6959 GB, free: 85.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/1.136, allocations: 255 kB / 0.6961 GB, free: 84.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/1.142, allocations: 3.666 MB / 0.6997 GB, free: 84.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/1.142, allocations: 56.34 kB / 0.6998 GB, free: 84.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.143, allocations: 3.173 MB / 0.7029 GB, free: 83.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006462/1.144, allocations: 0.7598 MB / 0.7036 GB, free: 82.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/1.144, allocations: 121.4 kB / 0.7037 GB, free: 82.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/1.145, allocations: 0.5468 MB / 0.7043 GB, free: 82.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/1.147, allocations: 2.195 MB / 0.7064 GB, free: 82.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/1.151, allocations: 5.66 MB / 0.7119 GB, free: 77.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/1.154, allocations: 3.459 MB / 0.7153 GB, free: 77.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.394e-05/1.154, allocations: 36.22 kB / 0.7154 GB, free: 77.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01444/1.169, allocations: 9.345 MB / 0.7245 GB, free: 74.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/1.169, allocations: 57.31 kB / 0.7245 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.169, allocations: 123.8 kB / 0.7247 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005021/1.174, allocations: 1.979 MB / 0.7266 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/1.178, allocations: 1.255 MB / 0.7278 GB, free: 74.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/1.194, allocations: 15.53 MB / 0.743 GB, free: 65.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.199, allocations: 339 kB / 0.7433 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.2, allocations: 353.6 kB / 0.7436 GB, free: 65.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (675): * Single equations (assignments): 669 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003804/1.204, allocations: 2.173 MB / 0.7458 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/1.205, allocations: 381 kB / 0.7461 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/1.211, allocations: 4.074 MB / 0.7501 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/1.211, allocations: 20 kB / 0.7501 GB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.211, allocations: 8 kB / 0.7501 GB, free: 59.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/1.211, allocations: 7.312 kB / 0.7501 GB, free: 59.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/1.228, allocations: 9.728 MB / 0.7596 GB, free: 52.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.228, allocations: 4 kB / 0.7596 GB, free: 52.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.229, allocations: 287.1 kB / 0.7599 GB, free: 51.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/1.232, allocations: 1.216 MB / 0.7611 GB, free: 50.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002947/1.233, allocations: 35.8 kB / 0.7611 GB, free: 50.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008865/1.242, allocations: 7.861 MB / 0.7688 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.242, allocations: 0 / 0.7688 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009469/1.251, allocations: 7.051 MB / 0.7757 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.252, allocations: 427.8 kB / 0.7761 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/1.253, allocations: 28 kB / 0.7761 GB, free: 37.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.254, allocations: 118 kB / 0.7762 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.255, allocations: 115.9 kB / 0.7764 GB, free: 37.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.255, allocations: 55.95 kB / 0.7764 GB, free: 37.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003671/1.258, allocations: 2.587 MB / 0.7789 GB, free: 35.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.258, allocations: 0 / 0.7789 GB, free: 35.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005644/1.264, allocations: 1.117 MB / 0.78 GB, free: 34.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (147): * Single equations (assignments): 143 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004836/1.265, allocations: 178 kB / 0.7802 GB, free: 33.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007961/1.273, allocations: 5.888 MB / 0.7859 GB, free: 28.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.273, allocations: 0 / 0.7859 GB, free: 28.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003018/1.276, allocations: 2.053 MB / 0.7879 GB, free: 26.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.279, allocations: 0.5323 MB / 0.7885 GB, free: 26.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.296, allocations: 11.78 MB / 0.8 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/1.299, allocations: 3.534 MB / 0.8034 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004206/1.303, allocations: 1.888 MB / 0.8053 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.304, allocations: 243.4 kB / 0.8055 GB, free: 9.891 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/1.304, allocations: 6.5 kB / 0.8055 GB, free: 9.891 MB / 442.7 MB Notification: Performance of Templates: time 0.2803/1.584, allocations: 44.93 MB / 0.8494 GB, free: 112.8 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches