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.0009408/0.0009405, allocations: 96.05 kB / 16.94 MB, free: 6.441 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.001011/0.001012, allocations: 185.1 kB / 17.83 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.426/1.426, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004602/0.0004602, allocations: 11.28 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09684, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0401/0.137, allocations: 43.47 MB / 371.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2275/0.3645, allocations: 10.79 MB / 382.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009237/0.3738, allocations: 225.8 kB / 382.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.3819, allocations: 2.144 MB / 385.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02258/0.4045, allocations: 6.335 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.4084, allocations: 0.7208 MB / 392.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03756/0.446, allocations: 26.53 MB / 418.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006616/0.4527, allocations: 4.654 MB / 423.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.4549, allocations: 1.163 MB / 424.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.457, allocations: 1.558 MB / 426 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004832/0.4575, allocations: 156 kB / 426.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4593, allocations: 0.9227 MB / 427.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.4612, allocations: 1.771 MB / 428.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.4631, allocations: 0.9221 MB / 429.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007585/0.4707, allocations: 6.445 MB / 436.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4708, allocations: 4 kB / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4708, allocations: 4 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001773/0.471, allocations: 0 / 436.2 MB, free: 1.848 MB / 334.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.01289/0.4838, allocations: 4.823 MB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4839, allocations: 8.031 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001949/0.4859, allocations: 0.741 MB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1554/0.6413, allocations: 14.58 MB / 456.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.6518, allocations: 3.995 MB / 460.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.6521, allocations: 253.8 kB / 460.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.6533, allocations: 338.5 kB / 461 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.6725, allocations: 10.29 MB / 471.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.6727, allocations: 55.55 kB / 471.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/0.6732, allocations: 155.3 kB / 471.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00358/0.6768, allocations: 2.023 MB / 473.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.6947, allocations: 8.725 MB / 482.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05081/0.7456, allocations: 39.47 MB / 0.5095 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008688/0.7543, allocations: 4.001 MB / 0.5134 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.7551, allocations: 0.6527 MB / 0.514 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.7551, allocations: 55.56 kB / 0.514 GB, free: 11.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.298e-06/0.7551, allocations: 0 / 0.514 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05511/0.8102, allocations: 21.84 MB / 0.5354 GB, free: 5.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.8104, allocations: 252.6 kB / 0.5356 GB, free: 5.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/0.8162, allocations: 4.518 MB / 0.54 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004196/0.8167, allocations: 60.36 kB / 0.5401 GB, free: 1.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1782/0.9948, allocations: 3.238 MB / 0.5432 GB, free: 162.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.9961, allocations: 0.7922 MB / 0.544 GB, free: 162.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.9965, allocations: 118.8 kB / 0.5441 GB, free: 162.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004191/0.9969, allocations: 0.5527 MB / 0.5447 GB, free: 162 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00427/1.001, allocations: 2.316 MB / 0.5469 GB, free: 162 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/1.007, allocations: 5.845 MB / 0.5526 GB, free: 156.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006028/1.013, allocations: 3.61 MB / 0.5562 GB, free: 155.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.013, allocations: 35.91 kB / 0.5562 GB, free: 155.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.02259/1.036, allocations: 9.725 MB / 0.5657 GB, free: 152.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.036, allocations: 62.48 kB / 0.5658 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.036, allocations: 124.5 kB / 0.5659 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005214/1.042, allocations: 2.107 MB / 0.5679 GB, free: 151.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/1.046, allocations: 1.292 MB / 0.5692 GB, free: 151.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.063, allocations: 16.38 MB / 0.5852 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.069, allocations: 355.4 kB / 0.5855 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.07, allocations: 362.5 kB / 0.5859 GB, free: 137.3 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.004064/1.074, allocations: 2.22 MB / 0.588 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009243/1.075, allocations: 391 kB / 0.5884 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007109/1.082, allocations: 4.408 MB / 0.5927 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.67e-05/1.082, allocations: 24 kB / 0.5927 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.082, allocations: 15.94 kB / 0.5928 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.082, allocations: 7.969 kB / 0.5928 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.1, allocations: 10.38 MB / 0.6029 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.1, allocations: 8.062 kB / 0.6029 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.101, allocations: 303.5 kB / 0.6032 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/1.105, allocations: 1.352 MB / 0.6045 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/1.105, allocations: 32 kB / 0.6046 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/1.115, allocations: 8.661 MB / 0.613 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.115, allocations: 4 kB / 0.613 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/1.125, allocations: 7.539 MB / 0.6204 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.127, allocations: 0.7615 MB / 0.6211 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007079/1.128, allocations: 36.67 kB / 0.6212 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.129, allocations: 123.8 kB / 0.6213 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/1.13, allocations: 133 kB / 0.6214 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.13, allocations: 57.16 kB / 0.6215 GB, free: 100.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004292/1.134, allocations: 2.885 MB / 0.6243 GB, free: 97.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.134, allocations: 0 / 0.6243 GB, free: 97.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006705/1.141, allocations: 1.174 MB / 0.6254 GB, free: 96.47 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.009837/1.151, allocations: 8.496 MB / 0.6337 GB, free: 87.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008637/1.159, allocations: 6.167 MB / 0.6397 GB, free: 81.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.159, allocations: 4 kB / 0.6397 GB, free: 81.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.163, allocations: 2.263 MB / 0.642 GB, free: 79.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/1.166, allocations: 0.529 MB / 0.6425 GB, free: 78.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2823/1.448, allocations: 125.4 MB / 0.7649 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/1.452, allocations: 3.625 MB / 0.7685 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004283/1.456, allocations: 1.943 MB / 0.7704 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002369/1.459, allocations: 2.101 MB / 0.7724 GB, free: 113.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/1.459, allocations: 3.938 kB / 0.7724 GB, free: 113.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.579, allocations: 93.36 MB / 0.8636 GB, free: 22.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.58, allocations: 238.9 kB / 0.8638 GB, free: 21.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.864/5.444, allocations: 0 / 0.8638 GB, free: 21.77 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