Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00104/0.00104, allocations: 100.3 kB / 17 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 191.3 kB / 17.9 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 51.5 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2525/0.3942, allocations: 45.65 MB / 404 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.4222, allocations: 10.31 MB / 414.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01305/0.4353, allocations: 221.2 kB / 414.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008572/0.4439, allocations: 2.384 MB / 416.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02225/0.4662, allocations: 7.043 MB / 423.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.4704, allocations: 0.691 MB / 424.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.08315/0.5536, allocations: 61.34 MB / 485.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007931/0.5616, allocations: 4.623 MB / 490.6 MB, free: 7.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.5648, allocations: 1.378 MB / 491.9 MB, free: 5.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.5686, allocations: 2.138 MB / 494.1 MB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006639/0.5693, allocations: 148 kB / 494.2 MB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.5717, allocations: 0.9323 MB / 495.2 MB, free: 2.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.5743, allocations: 1.847 MB / 497 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.5759, allocations: 0.8856 MB / 497.9 MB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008173/0.584, allocations: 6.223 MB / 0.4923 GB, free: 9.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.5841, allocations: 3.938 kB / 0.4923 GB, free: 9.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5841, allocations: 0 / 0.4923 GB, free: 9.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.5844, allocations: 4 kB / 0.4923 GB, free: 9.754 MB / 414.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.01416/0.5985, allocations: 4.632 MB / 0.4968 GB, free: 5.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.5986, allocations: 16.03 kB / 0.4968 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002728/0.6014, allocations: 0.7193 MB / 0.4976 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.125/0.7263, allocations: 12.7 MB / 0.51 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008895/0.7353, allocations: 3.822 MB / 0.5137 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.7355, allocations: 238.2 kB / 0.5139 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007334/0.7362, allocations: 331.7 kB / 0.5142 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.7537, allocations: 9.893 MB / 0.5239 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.7539, allocations: 47.59 kB / 0.5239 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.7543, allocations: 155.9 kB / 0.5241 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.7573, allocations: 1.959 MB / 0.526 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2658/1.023, allocations: 8.305 MB / 0.5341 GB, free: 148.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04836/1.072, allocations: 38.33 MB / 0.5715 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/1.079, allocations: 3.804 MB / 0.5753 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/1.082, allocations: 2.066 MB / 0.5773 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/1.082, allocations: 0.6474 MB / 0.5779 GB, free: 117.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.082, allocations: 55.02 kB / 0.578 GB, free: 117.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.908e-06/1.082, allocations: 0 / 0.578 GB, free: 117.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04811/1.13, allocations: 20.94 MB / 0.5984 GB, free: 98.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/1.13, allocations: 256.6 kB / 0.5987 GB, free: 97.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/1.136, allocations: 4.162 MB / 0.6027 GB, free: 93.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004637/1.136, allocations: 57.7 kB / 0.6028 GB, free: 93.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.138, allocations: 3.16 MB / 0.6059 GB, free: 90.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009442/1.139, allocations: 0.7647 MB / 0.6066 GB, free: 89.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.139, allocations: 116 kB / 0.6067 GB, free: 89.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003274/1.14, allocations: 0.546 MB / 0.6073 GB, free: 88.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/1.143, allocations: 2.252 MB / 0.6094 GB, free: 86.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/1.147, allocations: 5.721 MB / 0.615 GB, free: 79.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.151, allocations: 3.514 MB / 0.6185 GB, free: 75.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.17e-05/1.151, allocations: 36 kB / 0.6185 GB, free: 75.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01407/1.165, allocations: 9.516 MB / 0.6278 GB, free: 66.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/1.165, allocations: 58.5 kB / 0.6279 GB, free: 66.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.483e-05/1.165, allocations: 120 kB / 0.628 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00476/1.17, allocations: 2.084 MB / 0.63 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.173, allocations: 1.255 MB / 0.6312 GB, free: 62.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.19, allocations: 15.91 MB / 0.6468 GB, free: 46.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/1.195, allocations: 347.4 kB / 0.6471 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008193/1.196, allocations: 353.5 kB / 0.6474 GB, free: 45.58 MB / 446.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 (671): * Single equations (assignments): 665 * 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 {(2,100.0%) 36,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003596/1.199, allocations: 2.166 MB / 0.6496 GB, free: 43.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/1.2, allocations: 371.5 kB / 0.6499 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006795/1.207, allocations: 4.29 MB / 0.6541 GB, free: 38.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/1.207, allocations: 20.78 kB / 0.6541 GB, free: 38.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.207, allocations: 11.94 kB / 0.6541 GB, free: 38.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.207, allocations: 7.969 kB / 0.6541 GB, free: 38.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.223, allocations: 10.1 MB / 0.664 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.223, allocations: 0 / 0.664 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.224, allocations: 287.6 kB / 0.6643 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/1.228, allocations: 1.351 MB / 0.6656 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.228, allocations: 36 kB / 0.6656 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.238, allocations: 8.343 MB / 0.6738 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.238, allocations: 0 / 0.6738 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009842/1.248, allocations: 7.223 MB / 0.6808 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.249, allocations: 436 kB / 0.6812 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.25, allocations: 28 kB / 0.6813 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.251, allocations: 127.8 kB / 0.6814 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.251, allocations: 125 kB / 0.6815 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.251, allocations: 49.17 kB / 0.6816 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003659/1.255, allocations: 2.625 MB / 0.6841 GB, free: 7.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.223e-06/1.255, allocations: 0 / 0.6841 GB, free: 7.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005181/1.26, allocations: 1.122 MB / 0.6852 GB, free: 6.605 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 (147): * Single equations (assignments): 143 * 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.009944/1.27, allocations: 7.89 MB / 0.6929 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009911/1.28, allocations: 5.98 MB / 0.6988 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.28, allocations: 4 kB / 0.6988 GB, free: 8.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003753/1.284, allocations: 2.204 MB / 0.7009 GB, free: 6.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.287, allocations: 0.5601 MB / 0.7015 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3264/1.614, allocations: 38.73 MB / 0.7393 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003988/1.618, allocations: 3.449 MB / 0.7427 GB, free: 133.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004527/1.622, allocations: 1.887 MB / 0.7445 GB, free: 133.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002858/1.625, allocations: 2.012 MB / 0.7465 GB, free: 131.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/1.625, allocations: 0 / 0.7465 GB, free: 131.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/1.766, allocations: 90.23 MB / 0.8346 GB, free: 43.54 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.766, allocations: 244.4 kB / 0.8348 GB, free: 43.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.146/5.913, allocations: 8 kB / 0.8348 GB, free: 43.27 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat