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.0009536/0.0009537, allocations: 97.11 kB / 16.95 MB, free: 6.457 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.001052/0.001052, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.56/1.56, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004825/0.0004827, allocations: 12 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09718, allocations: 47.57 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0451/0.1423, allocations: 46.02 MB / 374.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2358/0.3782, allocations: 10.35 MB / 384.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.3904, allocations: 225.7 kB / 385 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009348/0.3998, allocations: 2.388 MB / 387.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02404/0.4239, allocations: 7.112 MB / 394.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.4283, allocations: 0.7005 MB / 395.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.05031/0.4787, allocations: 34.14 MB / 429.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008846/0.4876, allocations: 4.692 MB / 434.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.4909, allocations: 1.419 MB / 435.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.4951, allocations: 2.221 MB / 437.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.4963, allocations: 156 kB / 437.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.4994, allocations: 0.942 MB / 438.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002861/0.5023, allocations: 1.91 MB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.5037, allocations: 0.9194 MB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.5112, allocations: 6.453 MB / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.5112, allocations: 5.312 kB / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5113, allocations: 0 / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002377/0.5115, allocations: 0 / 448.1 MB, free: 6.578 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.01221/0.5237, allocations: 4.726 MB / 452.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5238, allocations: 8.031 kB / 452.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.5257, allocations: 0.7402 MB / 453.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1288/0.6545, allocations: 12.72 MB / 466.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.6649, allocations: 4.41 MB / 470.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.6651, allocations: 245.2 kB / 470.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.6663, allocations: 336 kB / 471.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.6846, allocations: 10.21 MB / 481.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.6848, allocations: 55.58 kB / 481.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.6853, allocations: 155.5 kB / 481.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003188/0.6885, allocations: 2.025 MB / 483.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.7055, allocations: 8.62 MB / 492.3 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04937/0.7549, allocations: 39.34 MB / 0.5192 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008608/0.7636, allocations: 3.922 MB / 0.523 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.7667, allocations: 2.098 MB / 0.5251 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/0.7675, allocations: 0.6629 MB / 0.5257 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.7676, allocations: 55.52 kB / 0.5258 GB, free: 15.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 5.36e-06/0.7676, allocations: 1.75 kB / 0.5258 GB, free: 15.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.2549/1.023, allocations: 21.08 MB / 0.5464 GB, free: 162.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.023, allocations: 252.8 kB / 0.5466 GB, free: 162.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007594/1.03, allocations: 4.263 MB / 0.5508 GB, free: 161.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005064/1.031, allocations: 56.05 kB / 0.5508 GB, free: 161.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.033, allocations: 3.24 MB / 0.554 GB, free: 159.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.034, allocations: 0.7916 MB / 0.5548 GB, free: 158.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/1.034, allocations: 120.4 kB / 0.5549 GB, free: 158.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002948/1.035, allocations: 0.5572 MB / 0.5554 GB, free: 158.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.039, allocations: 2.318 MB / 0.5577 GB, free: 157.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004677/1.043, allocations: 5.87 MB / 0.5634 GB, free: 151.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/1.048, allocations: 3.606 MB / 0.5669 GB, free: 150.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.186e-05/1.048, allocations: 42.22 kB / 0.567 GB, free: 150.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01611/1.064, allocations: 9.713 MB / 0.5765 GB, free: 146.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/1.064, allocations: 57.09 kB / 0.5765 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.064, allocations: 128 kB / 0.5766 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/1.069, allocations: 2.112 MB / 0.5787 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/1.073, allocations: 1.298 MB / 0.58 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.089, allocations: 15.84 MB / 0.5955 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/1.094, allocations: 347.5 kB / 0.5958 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009374/1.095, allocations: 364 kB / 0.5961 GB, free: 127.2 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004173/1.099, allocations: 2.227 MB / 0.5983 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.1, allocations: 393.7 kB / 0.5987 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/1.108, allocations: 4.404 MB / 0.603 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.026e-05/1.109, allocations: 28 kB / 0.603 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/1.109, allocations: 8 kB / 0.603 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.109, allocations: 7.969 kB / 0.603 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.128, allocations: 10.38 MB / 0.6132 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.128, allocations: 0 / 0.6132 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.129, allocations: 307.5 kB / 0.6134 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.132, allocations: 1.351 MB / 0.6148 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/1.133, allocations: 39.98 kB / 0.6148 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009609/1.142, allocations: 8.345 MB / 0.623 GB, free: 99.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.142, allocations: 6.406 kB / 0.623 GB, free: 99.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/1.152, allocations: 7.405 MB / 0.6302 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.154, allocations: 0.7497 MB / 0.6309 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009805/1.155, allocations: 32 kB / 0.631 GB, free: 91.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.157, allocations: 129.7 kB / 0.6311 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.158, allocations: 129.1 kB / 0.6312 GB, free: 90.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/1.158, allocations: 52.94 kB / 0.6313 GB, free: 90.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004147/1.162, allocations: 2.69 MB / 0.6339 GB, free: 88.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.553e-06/1.162, allocations: 0 / 0.6339 GB, free: 88.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006216/1.168, allocations: 1.152 MB / 0.635 GB, free: 87.1 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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/1.179, allocations: 8.077 MB / 0.6429 GB, free: 78.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/1.19, allocations: 6.151 MB / 0.6489 GB, free: 72.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.19, allocations: 0 / 0.6489 GB, free: 72.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00369/1.194, allocations: 2.26 MB / 0.6511 GB, free: 70.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005606/1.199, allocations: 0.5545 MB / 0.6516 GB, free: 69.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07936/1.279, allocations: 39.95 MB / 0.6907 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005534/1.284, allocations: 3.534 MB / 0.6941 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004888/1.289, allocations: 1.925 MB / 0.696 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002866/1.292, allocations: 2.096 MB / 0.698 GB, free: 18.59 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.292, allocations: 0 / 0.698 GB, free: 18.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3115/1.604, allocations: 92.47 MB / 0.7883 GB, free: 95.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/1.604, allocations: 248.7 kB / 0.7886 GB, free: 95.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/6.014, allocations: 0 / 0.7886 GB, free: 95.14 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat