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.001203/0.001203, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001175/0.001175, allocations: 192 kB / 18.66 MB, free: 4.441 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.147/1.147, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001047/0.001047, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0679/0.06896, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1471/0.2161, allocations: 12.33 MB / 387 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.223, allocations: 4.437 MB / 391.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2246, allocations: 78.66 kB / 391.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.2287, allocations: 2.906 MB / 394.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.2329, allocations: 2.029 MB / 396.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.2348, allocations: 1.037 MB / 397.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006136/0.2409, allocations: 5.339 MB / 402.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004098/0.245, allocations: 4.058 MB / 406.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.2474, allocations: 1.77 MB / 408.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.2503, allocations: 2.395 MB / 411 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.2509, allocations: 382.9 kB / 411.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.2529, allocations: 1.262 MB / 412.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.2545, allocations: 2.197 MB / 414.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.2566, allocations: 2.622 MB / 417.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.2634, allocations: 8.344 MB / 425.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2634, allocations: 0 / 425.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2634, allocations: 0 / 425.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.2635, allocations: 0 / 425.8 MB, free: 12.57 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.01108/0.2746, allocations: 5.654 MB / 431.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2747, allocations: 8.031 kB / 431.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007501/0.2754, allocations: 0.7442 MB / 432.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1647/0.4401, allocations: 12.39 MB / 444.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009194/0.4494, allocations: 4.532 MB / 449.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.4496, allocations: 250.3 kB / 449.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000991/0.4506, allocations: 339.7 kB / 449.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.4655, allocations: 10.22 MB / 459.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4657, allocations: 47.59 kB / 460 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006036/0.4663, allocations: 155.8 kB / 460.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/0.4694, allocations: 2.033 MB / 462.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.4836, allocations: 8.642 MB / 470.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04117/0.5248, allocations: 39.14 MB / 0.498 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.5324, allocations: 3.939 MB / 0.5019 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.5347, allocations: 2.103 MB / 0.5039 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.5353, allocations: 0.656 MB / 0.5046 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5354, allocations: 59.5 kB / 0.5046 GB, free: 15.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.068e-06/0.5354, allocations: 0 / 0.5046 GB, free: 15.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.0503/0.5857, allocations: 21.08 MB / 0.5252 GB, free: 10.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5858, allocations: 256.6 kB / 0.5254 GB, free: 9.902 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/0.5914, allocations: 4.287 MB / 0.5296 GB, free: 5.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.5917, allocations: 61.62 kB / 0.5297 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.5935, allocations: 3.242 MB / 0.5329 GB, free: 2.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/0.5943, allocations: 0.7943 MB / 0.5336 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/0.596, allocations: 1.21 MB / 0.5348 GB, free: 212 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.5961, allocations: 301.1 kB / 0.5351 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.5991, allocations: 2.338 MB / 0.5374 GB, free: 13.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/0.6039, allocations: 5.896 MB / 0.5431 GB, free: 5.906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1555/0.7594, allocations: 8.903 MB / 0.5518 GB, free: 142.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-05/0.7595, allocations: 36.16 kB / 0.5519 GB, free: 142.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01588/0.7754, allocations: 9.771 MB / 0.5614 GB, free: 140.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/0.7755, allocations: 57.09 kB / 0.5615 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.7756, allocations: 123.9 kB / 0.5616 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005379/0.781, allocations: 2.093 MB / 0.5636 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/0.7847, allocations: 1.297 MB / 0.5649 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/0.802, allocations: 17.15 MB / 0.5816 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.8059, allocations: 360.1 kB / 0.582 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000734/0.8066, allocations: 360.1 kB / 0.5823 GB, free: 130.3 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.002746/0.8094, allocations: 2.231 MB / 0.5845 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005815/0.81, allocations: 389 kB / 0.5849 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/0.8163, allocations: 4.418 MB / 0.5892 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.8164, allocations: 26.44 kB / 0.5892 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.8164, allocations: 7.938 kB / 0.5892 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.8164, allocations: 11.77 kB / 0.5892 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.8308, allocations: 10.33 MB / 0.5993 GB, free: 119.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.8308, allocations: 3.938 kB / 0.5993 GB, free: 119.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.832, allocations: 303.5 kB / 0.5996 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.8352, allocations: 1.359 MB / 0.6009 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.8354, allocations: 36 kB / 0.601 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008869/0.8442, allocations: 8.974 MB / 0.6097 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8443, allocations: 0 / 0.6097 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.853, allocations: 7.434 MB / 0.617 GB, free: 101 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.8547, allocations: 0.7381 MB / 0.6177 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005783/0.8552, allocations: 43.92 kB / 0.6178 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.8569, allocations: 131.6 kB / 0.6179 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.8572, allocations: 121 kB / 0.618 GB, free: 99.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8573, allocations: 52 kB / 0.6181 GB, free: 99.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003302/0.8607, allocations: 2.718 MB / 0.6207 GB, free: 97.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8607, allocations: 0 / 0.6207 GB, free: 97.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004173/0.8648, allocations: 1.147 MB / 0.6218 GB, free: 96.02 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.00882/0.8737, allocations: 8.084 MB / 0.6297 GB, free: 87.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006979/0.8807, allocations: 6.231 MB / 0.6358 GB, free: 81.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8807, allocations: 0 / 0.6358 GB, free: 81.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.8837, allocations: 2.278 MB / 0.638 GB, free: 79.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.8866, allocations: 0.5895 MB / 0.6386 GB, free: 78.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05599/0.9426, allocations: 51.3 MB / 0.6887 GB, free: 21.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.9459, allocations: 3.547 MB / 0.6922 GB, free: 18.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003461/0.9493, allocations: 1.925 MB / 0.694 GB, free: 16.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/0.9514, allocations: 2.093 MB / 0.6961 GB, free: 14.36 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9514, allocations: 0 / 0.6961 GB, free: 14.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 22.06/23.01, allocations: 87.24 MB / 0.7813 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.87/47.88, allocations: 0 / 0.7813 GB, free: 154.3 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