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.0009895/0.0009894, allocations: 98.61 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001093, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 8 kB / 306.7 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2283/0.3698, allocations: 43.12 MB / 401.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.3976, allocations: 10.75 MB / 412.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01396/0.4116, allocations: 221.8 kB / 412.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007991/0.4196, allocations: 2.141 MB / 414.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02213/0.4418, allocations: 6.283 MB / 420.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.4455, allocations: 0.7177 MB / 421.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.06711/0.5127, allocations: 48.32 MB / 469.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006888/0.5196, allocations: 4.592 MB / 474.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.5219, allocations: 1.129 MB / 475.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.5239, allocations: 1.503 MB / 477 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.5243, allocations: 148 kB / 477.1 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.5261, allocations: 0.8973 MB / 478 MB, free: 3.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.5278, allocations: 1.726 MB / 479.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.5287, allocations: 0.8856 MB / 480.6 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006297/0.5351, allocations: 6.212 MB / 486.8 MB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5351, allocations: 0 / 486.8 MB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5351, allocations: 4 kB / 486.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.5353, allocations: 0 / 486.9 MB, free: 10.63 MB / 398.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.01243/0.5478, allocations: 4.733 MB / 491.6 MB, free: 5.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5478, allocations: 8.031 kB / 491.6 MB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001974/0.5498, allocations: 0.7272 MB / 492.3 MB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1619/0.7117, allocations: 14.55 MB / 0.495 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009428/0.7212, allocations: 3.627 MB / 0.4985 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.7214, allocations: 238.2 kB / 0.4988 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009794/0.7224, allocations: 327.8 kB / 0.4991 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.7375, allocations: 9.979 MB / 0.5088 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.7377, allocations: 39.66 kB / 0.5089 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.7381, allocations: 163.8 kB / 0.509 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/0.7412, allocations: 1.959 MB / 0.5109 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.7564, allocations: 8.414 MB / 0.5191 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2544/1.011, allocations: 38.44 MB / 0.5567 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008742/1.02, allocations: 3.879 MB / 0.5605 GB, free: 122.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/1.02, allocations: 0.6523 MB / 0.5611 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.02, allocations: 54.62 kB / 0.5612 GB, free: 121.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.538e-06/1.02, allocations: 0 / 0.5612 GB, free: 121.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05495/1.075, allocations: 21.69 MB / 0.5823 GB, free: 111.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/1.075, allocations: 254.8 kB / 0.5826 GB, free: 111.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/1.08, allocations: 4.417 MB / 0.5869 GB, free: 107.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/1.081, allocations: 53.7 kB / 0.5869 GB, free: 107.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.082, allocations: 3.163 MB / 0.59 GB, free: 104.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/1.083, allocations: 0.7617 MB / 0.5908 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.083, allocations: 117.3 kB / 0.5909 GB, free: 103.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/1.083, allocations: 0.5499 MB / 0.5914 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/1.086, allocations: 2.256 MB / 0.5936 GB, free: 100.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/1.089, allocations: 5.69 MB / 0.5992 GB, free: 93.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.093, allocations: 3.518 MB / 0.6026 GB, free: 89.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.39e-05/1.093, allocations: 32 kB / 0.6027 GB, free: 89.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01406/1.107, allocations: 9.504 MB / 0.6119 GB, free: 80.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/1.107, allocations: 57.88 kB / 0.612 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.108, allocations: 128.1 kB / 0.6121 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/1.113, allocations: 2.093 MB / 0.6142 GB, free: 77.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/1.116, allocations: 1.255 MB / 0.6154 GB, free: 76.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.133, allocations: 16.44 MB / 0.6314 GB, free: 59.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.138, allocations: 341.5 kB / 0.6318 GB, free: 59.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005465/1.138, allocations: 357 kB / 0.6321 GB, free: 59.15 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.00282/1.141, allocations: 2.164 MB / 0.6342 GB, free: 56.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.142, allocations: 375.7 kB / 0.6346 GB, free: 56.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/1.148, allocations: 4.286 MB / 0.6388 GB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.148, allocations: 20 kB / 0.6388 GB, free: 52.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.148, allocations: 11.95 kB / 0.6388 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.148, allocations: 15.95 kB / 0.6388 GB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.164, allocations: 10.12 MB / 0.6487 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.165, allocations: 288 / 0.6487 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.166, allocations: 287.5 kB / 0.649 GB, free: 41.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/1.169, allocations: 1.355 MB / 0.6503 GB, free: 40.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.17, allocations: 39.5 kB / 0.6503 GB, free: 40.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009658/1.179, allocations: 8.656 MB / 0.6588 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.179, allocations: 4 kB / 0.6588 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.189, allocations: 7.36 MB / 0.666 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.191, allocations: 440 kB / 0.6664 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007748/1.192, allocations: 36 kB / 0.6664 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.193, allocations: 128.5 kB / 0.6665 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/1.194, allocations: 117.1 kB / 0.6667 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.194, allocations: 49.64 kB / 0.6667 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004069/1.198, allocations: 2.821 MB / 0.6695 GB, free: 20.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.198, allocations: 0 / 0.6695 GB, free: 20.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005576/1.204, allocations: 1.139 MB / 0.6706 GB, free: 19.46 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.00941/1.213, allocations: 8.305 MB / 0.6787 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007683/1.221, allocations: 5.989 MB / 0.6845 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.221, allocations: 4 kB / 0.6845 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.224, allocations: 2.206 MB / 0.6867 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.227, allocations: 0.5264 MB / 0.6872 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2623/1.489, allocations: 122.2 MB / 0.8066 GB, free: 58.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.493, allocations: 3.534 MB / 0.81 GB, free: 57.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004491/1.497, allocations: 1.892 MB / 0.8119 GB, free: 56.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.5, allocations: 2.014 MB / 0.8138 GB, free: 55.23 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/1.5, allocations: 0 / 0.8138 GB, free: 55.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6638/2.163, allocations: 91.01 MB / 0.9027 GB, free: 133.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/2.164, allocations: 242 kB / 0.9029 GB, free: 133.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/6.126, allocations: 0 / 0.9029 GB, free: 133.2 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