Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 186.5 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 11 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.001016/0.001016, allocations: 107.6 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008251/0.0008252, allocations: 35.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2228, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0357/0.2586, allocations: 50.35 MB / 449.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.28, allocations: 10.82 MB / 460.7 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008129/0.2881, allocations: 227.4 kB / 460.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005265/0.2934, allocations: 2.871 MB / 463.8 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.2977, allocations: 1.854 MB / 465.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.2997, allocations: 0.9749 MB / 466.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008512/0.3083, allocations: 7.873 MB / 474.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.3132, allocations: 3.917 MB / 478.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.3157, allocations: 1.518 MB / 479.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.319, allocations: 2.469 MB / 482.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008335/0.3199, allocations: 252 kB / 482.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.3223, allocations: 1.197 MB / 483.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.3246, allocations: 2.049 MB / 485.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002906/0.3275, allocations: 2.287 MB / 488.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.3341, allocations: 7.383 MB / 495.5 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3341, allocations: 7.875 kB / 495.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3342, allocations: 0 / 495.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.3343, allocations: 0 / 495.5 MB, free: 0.9492 MB / 362.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.009707/0.344, allocations: 5.244 MB / 0.489 GB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.344, allocations: 8.031 kB / 0.489 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02637/0.3704, allocations: 3.17 MB / 0.4921 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008863/0.3793, allocations: 3.524 MB / 0.4956 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3796, allocations: 246.1 kB / 0.4958 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.3807, allocations: 327.8 kB / 0.4961 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1692/0.5499, allocations: 10.03 MB / 0.5059 GB, free: 95.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.5501, allocations: 50.72 kB / 0.506 GB, free: 95.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.5505, allocations: 150.7 kB / 0.5061 GB, free: 95.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.5533, allocations: 1.956 MB / 0.508 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.5645, allocations: 8.597 MB / 0.5164 GB, free: 89.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.5969, allocations: 38.83 MB / 0.5543 GB, free: 49.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006882/0.6038, allocations: 3.933 MB / 0.5582 GB, free: 45.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.6059, allocations: 2.187 MB / 0.5603 GB, free: 43.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.6064, allocations: 0.6568 MB / 0.561 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6064, allocations: 51.5 kB / 0.561 GB, free: 42.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 4.649e-06/0.6064, allocations: 4 kB / 0.561 GB, free: 42.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=201): time 0.05417/0.6606, allocations: 22.59 MB / 0.5831 GB, free: 20.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.6607, allocations: 264.6 kB / 0.5833 GB, free: 19.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.6651, allocations: 4.169 MB / 0.5874 GB, free: 15.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003365/0.6655, allocations: 57.7 kB / 0.5874 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.6667, allocations: 3.116 MB / 0.5905 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.6673, allocations: 0.7751 MB / 0.5912 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.6686, allocations: 1.249 MB / 0.5925 GB, free: 10.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.6687, allocations: 305.1 kB / 0.5928 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.6714, allocations: 2.487 MB / 0.5952 GB, free: 7.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.6751, allocations: 5.977 MB / 0.601 GB, free: 15.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009915/0.685, allocations: 9.07 MB / 0.6099 GB, free: 5.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.535e-05/0.6852, allocations: 39.94 kB / 0.6099 GB, free: 5.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01977/0.7049, allocations: 10.54 MB / 0.6202 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.705, allocations: 56 kB / 0.6203 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.7052, allocations: 120 kB / 0.6204 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/0.7128, allocations: 2.596 MB / 0.6229 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.7167, allocations: 1.31 MB / 0.6242 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.7396, allocations: 17.25 MB / 0.641 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/0.7441, allocations: 367.4 kB / 0.6414 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008143/0.745, allocations: 360 kB / 0.6417 GB, free: 4.02 MB / 426.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: 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 (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003279/0.7483, allocations: 2.162 MB / 0.6438 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/0.749, allocations: 371.2 kB / 0.6442 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.76, allocations: 5.035 MB / 0.6491 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/0.7601, allocations: 20 kB / 0.6491 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.7601, allocations: 12 kB / 0.6491 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/0.7601, allocations: 11.97 kB / 0.6492 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.7799, allocations: 10.84 MB / 0.6597 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.7799, allocations: 4.062 kB / 0.6597 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.7813, allocations: 283.6 kB / 0.66 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1676/0.9489, allocations: 1.844 MB / 0.6618 GB, free: 142.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003618/0.9493, allocations: 33 kB / 0.6619 GB, free: 142.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.9614, allocations: 9.715 MB / 0.6713 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9614, allocations: 8.688 kB / 0.6713 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09214/1.054, allocations: 60.25 MB / 0.7302 GB, free: 90.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/1.054, allocations: 423.8 kB / 0.7306 GB, free: 90.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/1.055, allocations: 35.94 kB / 0.7306 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.057, allocations: 139.4 kB / 0.7308 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/1.057, allocations: 134.6 kB / 0.7309 GB, free: 90.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.057, allocations: 52 kB / 0.7309 GB, free: 90.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003186/1.06, allocations: 2.623 MB / 0.7335 GB, free: 87.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/1.06, allocations: 0 / 0.7335 GB, free: 87.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00557/1.066, allocations: 1.6 MB / 0.7351 GB, free: 85.94 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 (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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/1.066, allocations: 168.9 kB / 0.7352 GB, free: 85.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00839/1.075, allocations: 6.492 MB / 0.7416 GB, free: 79.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.075, allocations: 0 / 0.7416 GB, free: 79.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.077, allocations: 2.153 MB / 0.7437 GB, free: 77.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.081, allocations: 0.5414 MB / 0.7442 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/1.099, allocations: 14.19 MB / 0.7581 GB, free: 62.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/1.103, allocations: 3.521 MB / 0.7615 GB, free: 58.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004508/1.107, allocations: 1.91 MB / 0.7634 GB, free: 57.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/1.108, allocations: 255.4 kB / 0.7636 GB, free: 56.77 MB / 442.7 MB Notification: Performance of SimCode: time 6.72e-07/1.108, allocations: 0 / 0.7636 GB, free: 56.77 MB / 442.7 MB Notification: Performance of Templates: time 0.2568/1.365, allocations: 66.19 MB / 0.8282 GB, free: 143.2 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches