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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001096, allocations: 104 kB / 17.59 MB, free: 5.555 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.001057/0.001057, allocations: 191.5 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 51.36 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09472, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01321/0.108, allocations: 11.9 MB / 362.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00934/0.1174, allocations: 4.343 MB / 367 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.1198, allocations: 79.69 kB / 367.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.1258, allocations: 2.889 MB / 369.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1891/0.3149, allocations: 1.967 MB / 371.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.3178, allocations: 1.043 MB / 373 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008896/0.3267, allocations: 5.559 MB / 378.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007347/0.3341, allocations: 3.996 MB / 382.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.3391, allocations: 1.711 MB / 384.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005208/0.3443, allocations: 2.316 MB / 386.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001816/0.3462, allocations: 368.2 kB / 386.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.3503, allocations: 1.248 MB / 388.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003626/0.3539, allocations: 2.123 MB / 390.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004183/0.3581, allocations: 2.397 MB / 392.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008025/0.3662, allocations: 7.484 MB / 400.1 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3662, allocations: 0 / 400.1 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3662, allocations: 0 / 400.1 MB, free: 136 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000296/0.3665, allocations: 0 / 400.1 MB, free: 136 kB / 302.1 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.01341/0.38, allocations: 5.253 MB / 405.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.38, allocations: 8.031 kB / 405.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.4076, allocations: 3.168 MB / 408.6 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008759/0.4164, allocations: 3.521 MB / 412.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.4167, allocations: 240.6 kB / 412.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.4181, allocations: 331.8 kB / 412.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.4377, allocations: 10.02 MB / 422.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.4379, allocations: 54.08 kB / 422.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005533/0.4385, allocations: 151.4 kB / 422.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003502/0.442, allocations: 1.966 MB / 424.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.4596, allocations: 8.588 MB / 433.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.5098, allocations: 38.84 MB / 472.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/0.5186, allocations: 3.938 MB / 476.2 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.5213, allocations: 2.189 MB / 478.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/0.5221, allocations: 0.6506 MB / 479.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.5221, allocations: 51.5 kB / 479.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 4.929e-06/0.5222, allocations: 4 kB / 479.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.06311/0.5853, allocations: 22.6 MB / 0.49 GB, free: 9.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.5855, allocations: 248.6 kB / 0.4902 GB, free: 8.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/0.5916, allocations: 4.169 MB / 0.4943 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/0.5921, allocations: 57.64 kB / 0.4943 GB, free: 4.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.5944, allocations: 3.119 MB / 0.4974 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.5954, allocations: 0.7661 MB / 0.4981 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.5972, allocations: 1.254 MB / 0.4993 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5974, allocations: 305.1 kB / 0.4996 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/0.6013, allocations: 2.487 MB / 0.5021 GB, free: 12.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006736/0.6081, allocations: 5.983 MB / 0.5079 GB, free: 4.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.6196, allocations: 9.071 MB / 0.5168 GB, free: 10.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/0.6198, allocations: 36 kB / 0.5168 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.2059/0.8256, allocations: 10.54 MB / 0.5271 GB, free: 138.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8258, allocations: 60.66 kB / 0.5271 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/0.826, allocations: 121.3 kB / 0.5273 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00813/0.8341, allocations: 2.595 MB / 0.5298 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/0.8383, allocations: 1.308 MB / 0.5311 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.861, allocations: 18.65 MB / 0.5493 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.8653, allocations: 370.6 kB / 0.5496 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005905/0.8659, allocations: 362 kB / 0.55 GB, free: 130 MB / 446.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: 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.002779/0.8687, allocations: 2.167 MB / 0.5521 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.8693, allocations: 369.5 kB / 0.5524 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008098/0.8774, allocations: 5.037 MB / 0.5574 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.8775, allocations: 21.94 kB / 0.5574 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.8775, allocations: 7.25 kB / 0.5574 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.8775, allocations: 12.41 kB / 0.5574 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.8943, allocations: 10.82 MB / 0.568 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.8943, allocations: 0 / 0.568 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.8957, allocations: 290.5 kB / 0.5683 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.9003, allocations: 1.852 MB / 0.5701 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/0.9006, allocations: 31.98 kB / 0.5701 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.9116, allocations: 10.4 MB / 0.5802 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9117, allocations: 6.844 kB / 0.5803 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.9229, allocations: 8.171 MB / 0.5882 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009689/0.9239, allocations: 432.6 kB / 0.5886 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006112/0.9245, allocations: 32 kB / 0.5887 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.9262, allocations: 144.5 kB / 0.5888 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.9266, allocations: 113.1 kB / 0.5889 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.9267, allocations: 48 kB / 0.589 GB, free: 102.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003111/0.9298, allocations: 2.632 MB / 0.5915 GB, free: 99.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9299, allocations: 0 / 0.5915 GB, free: 99.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004762/0.9346, allocations: 1.178 MB / 0.5927 GB, free: 98.7 MB / 446.1 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.0004156/0.9351, allocations: 172.6 kB / 0.5929 GB, free: 98.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.9453, allocations: 7.715 MB / 0.6004 GB, free: 90.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9453, allocations: 0.875 kB / 0.6004 GB, free: 90.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.9478, allocations: 2.167 MB / 0.6025 GB, free: 88.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.9509, allocations: 0.5699 MB / 0.6031 GB, free: 88.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.9657, allocations: 10.92 MB / 0.6137 GB, free: 77.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.9688, allocations: 3.418 MB / 0.6171 GB, free: 73.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.9698, allocations: 287.4 kB / 0.6173 GB, free: 73.51 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.9698, allocations: 0 / 0.6173 GB, free: 73.51 MB / 446.1 MB Notification: Performance of Templates: time 0.2747/1.245, allocations: 101.7 MB / 0.7167 GB, free: 126.2 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches