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.001502/0.001502, allocations: 110.6 kB / 17.73 MB, free: 5.336 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.001637/0.001637, allocations: 191 kB / 18.66 MB, free: 4.414 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.212/1.212, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001159/0.001159, allocations: 56.34 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.07357, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1652/0.2388, allocations: 12.33 MB / 387 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00842/0.2473, allocations: 4.431 MB / 391.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.2498, allocations: 78.94 kB / 391.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.2548, allocations: 2.906 MB / 394.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.2601, allocations: 2.038 MB / 396.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.2625, allocations: 1.036 MB / 397.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007198/0.2697, allocations: 5.332 MB / 402.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/0.2742, allocations: 4.058 MB / 406.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.277, allocations: 1.769 MB / 408.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.2803, allocations: 2.393 MB / 411 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007606/0.2811, allocations: 381.8 kB / 411.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.2833, allocations: 1.262 MB / 412.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.2853, allocations: 2.206 MB / 414.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.288, allocations: 2.614 MB / 417.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.2959, allocations: 8.351 MB / 425.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.296, allocations: 0 / 425.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.296, allocations: 0 / 425.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001742/0.2962, allocations: 0 / 425.8 MB, free: 12.54 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.01277/0.3089, allocations: 5.654 MB / 431.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.309, allocations: 12.02 kB / 431.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001128/0.3101, allocations: 0.7364 MB / 432.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1486/0.4587, allocations: 12.39 MB / 444.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009365/0.4681, allocations: 4.536 MB / 449.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.4684, allocations: 262.2 kB / 449.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.4695, allocations: 327.8 kB / 449.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.4856, allocations: 10.22 MB / 460 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.4858, allocations: 51.58 kB / 460 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000485/0.4863, allocations: 159.8 kB / 460.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003192/0.4895, allocations: 2.026 MB / 462.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.5045, allocations: 8.642 MB / 470.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/0.5479, allocations: 39.14 MB / 0.498 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.5562, allocations: 3.928 MB / 0.5019 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.5587, allocations: 2.111 MB / 0.5039 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.5594, allocations: 0.6438 MB / 0.5045 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.5594, allocations: 55.5 kB / 0.5046 GB, free: 15.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 3.787e-06/0.5594, allocations: 0 / 0.5046 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05411/0.6136, allocations: 21.1 MB / 0.5252 GB, free: 10.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6137, allocations: 252.8 kB / 0.5254 GB, free: 9.879 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/0.6194, allocations: 4.295 MB / 0.5296 GB, free: 5.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003678/0.6198, allocations: 61.64 kB / 0.5297 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/0.6218, allocations: 3.234 MB / 0.5329 GB, free: 2.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000807/0.6226, allocations: 0.7943 MB / 0.5336 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.6241, allocations: 1.222 MB / 0.5348 GB, free: 176 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.6242, allocations: 301.1 kB / 0.5351 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.6274, allocations: 2.331 MB / 0.5374 GB, free: 13.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.6327, allocations: 5.896 MB / 0.5431 GB, free: 5.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1634/0.7961, allocations: 8.906 MB / 0.5518 GB, free: 140.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.834e-05/0.7962, allocations: 35.88 kB / 0.5519 GB, free: 140.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01735/0.8136, allocations: 9.77 MB / 0.5614 GB, free: 137.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/0.8137, allocations: 59.41 kB / 0.5615 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.8138, allocations: 125.3 kB / 0.5616 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/0.8197, allocations: 2.092 MB / 0.5636 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/0.8236, allocations: 1.297 MB / 0.5649 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.8423, allocations: 17.15 MB / 0.5817 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/0.8465, allocations: 350 kB / 0.582 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006192/0.8472, allocations: 365.4 kB / 0.5823 GB, free: 128 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.002839/0.85, allocations: 2.23 MB / 0.5845 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/0.8506, allocations: 384.8 kB / 0.5849 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/0.8575, allocations: 4.411 MB / 0.5892 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.8576, allocations: 28.39 kB / 0.5892 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.8576, allocations: 7.938 kB / 0.5892 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.8576, allocations: 11.44 kB / 0.5892 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.872, allocations: 10.33 MB / 0.5993 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.8721, allocations: 3.938 kB / 0.5993 GB, free: 117.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8734, allocations: 315.6 kB / 0.5996 GB, free: 117.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/0.8767, allocations: 1.351 MB / 0.6009 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.8769, allocations: 39.2 kB / 0.601 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0094/0.8864, allocations: 8.971 MB / 0.6097 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8864, allocations: 5.531 kB / 0.6097 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009325/0.8957, allocations: 7.437 MB / 0.617 GB, free: 99.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.8972, allocations: 0.7419 MB / 0.6177 GB, free: 98.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/0.8977, allocations: 39.92 kB / 0.6178 GB, free: 98.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.8992, allocations: 123.8 kB / 0.6179 GB, free: 98.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.8995, allocations: 121.1 kB / 0.618 GB, free: 98.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.8996, allocations: 59.44 kB / 0.6181 GB, free: 98.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002954/0.9026, allocations: 2.714 MB / 0.6207 GB, free: 95.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9026, allocations: 0 / 0.6207 GB, free: 95.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004231/0.9068, allocations: 1.147 MB / 0.6218 GB, free: 94.36 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.009343/0.9162, allocations: 8.083 MB / 0.6297 GB, free: 86.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00779/0.924, allocations: 6.231 MB / 0.6358 GB, free: 80 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.924, allocations: 0 / 0.6358 GB, free: 80 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003304/0.9273, allocations: 2.278 MB / 0.638 GB, free: 77.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.9305, allocations: 0.593 MB / 0.6386 GB, free: 77.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06165/0.9922, allocations: 51.3 MB / 0.6887 GB, free: 20.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003219/0.9954, allocations: 3.535 MB / 0.6922 GB, free: 16.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003591/0.999, allocations: 1.925 MB / 0.694 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/1.001, allocations: 2.094 MB / 0.6961 GB, free: 12.69 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/1.001, allocations: 0 / 0.6961 GB, free: 12.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5302/1.531, allocations: 87.24 MB / 0.7813 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.17/21.7, allocations: 3.938 kB / 0.7813 GB, free: 149.8 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