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.001023/0.001023, allocations: 105 kB / 17.06 MB, free: 6.109 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.0009892/0.0009892, allocations: 194.9 kB / 18 MB, free: 5.188 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2362, allocations: 49.43 MB / 400.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01202/0.2483, allocations: 11.91 MB / 412.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007632/0.256, allocations: 4.347 MB / 417 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.2572, allocations: 79.75 kB / 417.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.2619, allocations: 2.893 MB / 420 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.2662, allocations: 2.023 MB / 422 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.2682, allocations: 1.045 MB / 423 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006721/0.2749, allocations: 5.563 MB / 428.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/0.2797, allocations: 3.989 MB / 432.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.2824, allocations: 1.717 MB / 434.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.285, allocations: 2.325 MB / 436.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.2855, allocations: 364 kB / 437 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2874, allocations: 1.252 MB / 438.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.2892, allocations: 2.143 MB / 440.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.2913, allocations: 2.396 MB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006795/0.2981, allocations: 7.72 MB / 450.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2982, allocations: 0 / 450.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2982, allocations: 0 / 450.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.2983, allocations: 4 kB / 450.5 MB, free: 7.047 MB / 366.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.008901/0.3072, allocations: 5.251 MB / 455.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3073, allocations: 16.03 kB / 455.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/0.3294, allocations: 3.166 MB / 458.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/0.337, allocations: 3.59 MB / 462.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3372, allocations: 242.2 kB / 462.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.3379, allocations: 331.7 kB / 463.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.3521, allocations: 10.03 MB / 473.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.3522, allocations: 51.5 kB / 473.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.3526, allocations: 159.8 kB / 473.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.3556, allocations: 1.955 MB / 475.3 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.3697, allocations: 8.59 MB / 483.8 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.4125, allocations: 38.64 MB / 0.5102 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008077/0.4206, allocations: 3.958 MB / 0.5141 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/0.4233, allocations: 2.205 MB / 0.5163 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.4239, allocations: 0.6438 MB / 0.5169 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.424, allocations: 55.55 kB / 0.5169 GB, free: 5.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.33e-06/0.424, allocations: 0 / 0.5169 GB, free: 5.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2499/0.6739, allocations: 22.58 MB / 0.539 GB, free: 129.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.674, allocations: 253.4 kB / 0.5392 GB, free: 129.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/0.6791, allocations: 4.176 MB / 0.5433 GB, free: 128.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004049/0.6795, allocations: 58.92 kB / 0.5434 GB, free: 128.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.6813, allocations: 3.123 MB / 0.5464 GB, free: 126.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008338/0.6821, allocations: 0.7695 MB / 0.5472 GB, free: 126 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.6836, allocations: 1.248 MB / 0.5484 GB, free: 125.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.6837, allocations: 312.4 kB / 0.5487 GB, free: 125.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.6865, allocations: 2.489 MB / 0.5511 GB, free: 124.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.6903, allocations: 5.973 MB / 0.557 GB, free: 118.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.6974, allocations: 9.062 MB / 0.5658 GB, free: 111.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.456e-05/0.6975, allocations: 36.78 kB / 0.5658 GB, free: 111.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01494/0.7124, allocations: 10.55 MB / 0.5761 GB, free: 101.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.7125, allocations: 56 kB / 0.5762 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.793e-05/0.7126, allocations: 120 kB / 0.5763 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006054/0.7186, allocations: 2.614 MB / 0.5789 GB, free: 98.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/0.7219, allocations: 1.306 MB / 0.5801 GB, free: 97.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.7401, allocations: 18.62 MB / 0.5983 GB, free: 78.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/0.7442, allocations: 363.3 kB / 0.5987 GB, free: 78.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006162/0.7449, allocations: 360 kB / 0.599 GB, free: 77.88 MB / 462.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.003127/0.748, allocations: 2.164 MB / 0.6011 GB, free: 75.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.7486, allocations: 377 kB / 0.6015 GB, free: 75.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/0.7563, allocations: 5.019 MB / 0.6064 GB, free: 70.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.7563, allocations: 29.53 kB / 0.6064 GB, free: 70.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.7564, allocations: 8 kB / 0.6064 GB, free: 70.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7564, allocations: 7.969 kB / 0.6064 GB, free: 70.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.7709, allocations: 10.79 MB / 0.617 GB, free: 59.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.771, allocations: 4 kB / 0.617 GB, free: 59.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7721, allocations: 283.5 kB / 0.6172 GB, free: 59.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004448/0.7766, allocations: 1.847 MB / 0.619 GB, free: 57.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.7767, allocations: 36 kB / 0.6191 GB, free: 57.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.7873, allocations: 10.39 MB / 0.6292 GB, free: 46.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7873, allocations: 0 / 0.6292 GB, free: 46.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.7978, allocations: 8.178 MB / 0.6372 GB, free: 38.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/0.7986, allocations: 428.1 kB / 0.6376 GB, free: 38.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.799, allocations: 32 kB / 0.6377 GB, free: 38.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.8005, allocations: 135.8 kB / 0.6378 GB, free: 37.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.8009, allocations: 121 kB / 0.6379 GB, free: 37.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.801, allocations: 52 kB / 0.6379 GB, free: 37.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002902/0.8039, allocations: 2.623 MB / 0.6405 GB, free: 35.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8039, allocations: 4.844 kB / 0.6405 GB, free: 35.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004356/0.8083, allocations: 1.175 MB / 0.6417 GB, free: 33.92 MB / 462.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.0004204/0.8087, allocations: 183.5 kB / 0.6418 GB, free: 33.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008084/0.8168, allocations: 6.51 MB / 0.6482 GB, free: 27.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.8168, allocations: 288 / 0.6482 GB, free: 27.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.8193, allocations: 2.163 MB / 0.6503 GB, free: 25.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.8221, allocations: 0.5611 MB / 0.6509 GB, free: 24.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.8347, allocations: 10.39 MB / 0.661 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.8376, allocations: 3.446 MB / 0.6644 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003342/0.8409, allocations: 1.868 MB / 0.6662 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/0.8415, allocations: 243.4 kB / 0.6664 GB, free: 8.477 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8415, allocations: 0 / 0.6664 GB, free: 8.477 MB / 462.1 MB Notification: Performance of Templates: time 0.07943/0.921, allocations: 48.76 MB / 0.714 GB, free: 8.004 MB / 0.4981 GB 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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