Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 113.2 kB / 17.73 MB, free: 5.312 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.001647/0.001647, allocations: 188.2 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 55.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.0871, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1722/0.2594, allocations: 12.32 MB / 387 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009246/0.2687, allocations: 4.437 MB / 391.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.2712, allocations: 83.62 kB / 391.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00525/0.2765, allocations: 2.901 MB / 394.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.2824, allocations: 2.033 MB / 396.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.2848, allocations: 1.042 MB / 397.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0086/0.2935, allocations: 5.333 MB / 402.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005933/0.2994, allocations: 4.052 MB / 406.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.3032, allocations: 1.761 MB / 408.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/0.3075, allocations: 2.394 MB / 411 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009262/0.3084, allocations: 382.7 kB / 411.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.3112, allocations: 1.253 MB / 412.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.3139, allocations: 2.185 MB / 414.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004039/0.318, allocations: 2.618 MB / 417.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3296, allocations: 8.381 MB / 425.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3297, allocations: 0 / 425.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3297, allocations: 0 / 425.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002078/0.3299, allocations: 0 / 425.8 MB, free: 12.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01456/0.3445, allocations: 5.798 MB / 431.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3445, allocations: 8.031 kB / 431.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.3457, allocations: 0.7442 MB / 432.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1736/0.5193, allocations: 12.42 MB / 444.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009749/0.5291, allocations: 4.553 MB / 449.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.5293, allocations: 254.2 kB / 449.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007738/0.5301, allocations: 343.7 kB / 449.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.5468, allocations: 10.21 MB / 460.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5469, allocations: 51.59 kB / 460.2 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.5474, allocations: 155.8 kB / 460.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003537/0.5509, allocations: 2.03 MB / 462.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.5676, allocations: 8.646 MB / 471 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05128/0.6189, allocations: 39.22 MB / 0.4983 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008875/0.6278, allocations: 3.935 MB / 0.5021 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.6307, allocations: 2.104 MB / 0.5042 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.6315, allocations: 0.6554 MB / 0.5048 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.6315, allocations: 51.5 kB / 0.5049 GB, free: 15.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 5.189e-06/0.6315, allocations: 4 kB / 0.5049 GB, free: 15.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05628/0.6878, allocations: 21.35 MB / 0.5257 GB, free: 9.691 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.688, allocations: 260.8 kB / 0.526 GB, free: 9.383 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/0.6941, allocations: 4.296 MB / 0.5302 GB, free: 5.062 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003462/0.6945, allocations: 57.64 kB / 0.5302 GB, free: 5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.6972, allocations: 3.365 MB / 0.5335 GB, free: 1.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009728/0.6982, allocations: 0.8333 MB / 0.5343 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.6999, allocations: 1.219 MB / 0.5355 GB, free: 15.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7, allocations: 301.1 kB / 0.5358 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/0.7036, allocations: 2.338 MB / 0.5381 GB, free: 12.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006444/0.7101, allocations: 5.893 MB / 0.5438 GB, free: 5.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.182/0.8922, allocations: 8.899 MB / 0.5525 GB, free: 139.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/0.8923, allocations: 36.45 kB / 0.5526 GB, free: 139.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01818/0.9105, allocations: 9.788 MB / 0.5621 GB, free: 137.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/0.9106, allocations: 57.38 kB / 0.5622 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.9108, allocations: 123.2 kB / 0.5623 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005885/0.9167, allocations: 2.093 MB / 0.5643 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/0.9208, allocations: 1.296 MB / 0.5656 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.9398, allocations: 17.17 MB / 0.5824 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004227/0.9441, allocations: 354.1 kB / 0.5827 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/0.9448, allocations: 361.7 kB / 0.5831 GB, free: 127.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (693): * Single equations (assignments): 687 * 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,88.9%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.9476, allocations: 2.23 MB / 0.5852 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.9482, allocations: 406.9 kB / 0.5856 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007002/0.9552, allocations: 4.407 MB / 0.5899 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.9553, allocations: 27.53 kB / 0.5899 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.9553, allocations: 9 kB / 0.59 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.9553, allocations: 15.16 kB / 0.59 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.9698, allocations: 10.34 MB / 0.6001 GB, free: 116.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.9698, allocations: 3.938 kB / 0.6001 GB, free: 116.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.9711, allocations: 303.6 kB / 0.6004 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.9744, allocations: 1.359 MB / 0.6017 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.9747, allocations: 36 kB / 0.6017 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/0.9842, allocations: 8.974 MB / 0.6105 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9843, allocations: 5.594 kB / 0.6105 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009498/0.9938, allocations: 7.462 MB / 0.6178 GB, free: 98.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.9954, allocations: 0.7607 MB / 0.6185 GB, free: 97.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/0.996, allocations: 35.94 kB / 0.6186 GB, free: 97.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.9976, allocations: 127.3 kB / 0.6187 GB, free: 97.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.998, allocations: 123.4 kB / 0.6188 GB, free: 97.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.9982, allocations: 58.55 kB / 0.6188 GB, free: 97.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003282/1.001, allocations: 2.71 MB / 0.6215 GB, free: 94.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.001, allocations: 4 kB / 0.6215 GB, free: 94.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00476/1.006, allocations: 1.144 MB / 0.6226 GB, free: 93.48 MB / 478.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 (157): * Single equations (assignments): 153 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009688/1.016, allocations: 8.115 MB / 0.6305 GB, free: 85.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007527/1.024, allocations: 6.244 MB / 0.6366 GB, free: 79.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.024, allocations: 0 / 0.6366 GB, free: 79.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/1.027, allocations: 2.266 MB / 0.6388 GB, free: 76.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.03, allocations: 0.5932 MB / 0.6394 GB, free: 76.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06564/1.095, allocations: 51.49 MB / 0.6897 GB, free: 19.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004229/1.1, allocations: 3.533 MB / 0.6932 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00391/1.104, allocations: 1.925 MB / 0.695 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/1.106, allocations: 2.093 MB / 0.6971 GB, free: 11.6 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.106, allocations: 0 / 0.6971 GB, free: 11.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3084/1.414, allocations: 85.81 MB / 0.7809 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.65/22.06, allocations: 4.062 kB / 0.7809 GB, free: 149.9 MB / 0.4981 GB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches