Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 122.8 kB / 17.79 MB, free: 5.254 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: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2234/0.2234, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3267, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01765/0.3444, allocations: 16.93 MB / 0.5471 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009329/0.3538, allocations: 3.952 MB / 0.551 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.3572, allocations: 99.81 kB / 0.5511 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.3623, allocations: 2.187 MB / 0.5532 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.3695, allocations: 2.498 MB / 0.5557 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3707, allocations: 303.5 kB / 0.5559 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009549/0.3803, allocations: 6.535 MB / 0.5623 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004536/0.3849, allocations: 3.322 MB / 0.5656 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.3882, allocations: 2.129 MB / 0.5677 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.3922, allocations: 2.775 MB / 0.5704 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.3933, allocations: 392 kB / 0.5707 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.3954, allocations: 0.8037 MB / 0.5715 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.3985, allocations: 2.746 MB / 0.5742 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004425/0.4029, allocations: 3.302 MB / 0.5774 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.4154, allocations: 10.65 MB / 0.5878 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4154, allocations: 7.938 kB / 0.5878 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4154, allocations: 0 / 0.5878 GB, free: 6.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002999/0.4157, allocations: 0 / 0.5878 GB, free: 6.855 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01329/0.429, allocations: 7.168 MB / 0.5948 GB, free: 15.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4291, allocations: 8.031 kB / 0.5948 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002497/0.4316, allocations: 1.276 MB / 0.5961 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/0.4515, allocations: 5.907 MB / 0.6019 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006594/0.4581, allocations: 3.305 MB / 0.6051 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.4585, allocations: 328 kB / 0.6054 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.46, allocations: 415.7 kB / 0.6058 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/0.4911, allocations: 18.88 MB / 0.6242 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.4913, allocations: 35.62 kB / 0.6243 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.4924, allocations: 207.7 kB / 0.6245 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007718/0.5001, allocations: 4.738 MB / 0.6291 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03321/0.5333, allocations: 17.53 MB / 0.6462 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09/0.6234, allocations: 61 MB / 0.7058 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.6391, allocations: 8.421 MB / 0.714 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.6432, allocations: 2.591 MB / 0.7165 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2446/0.8878, allocations: 11.88 MB / 0.7281 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.8879, allocations: 66.58 kB / 0.7282 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.744e-06/0.8879, allocations: 4.906 kB / 0.7282 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01571/0.9037, allocations: 7.532 MB / 0.7356 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.9037, allocations: 107.6 kB / 0.7357 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006399/0.9102, allocations: 5.682 MB / 0.7412 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.9106, allocations: 68.5 kB / 0.7413 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.9131, allocations: 5.289 MB / 0.7464 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.9143, allocations: 1.252 MB / 0.7477 GB, free: 147 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/0.9165, allocations: 1.922 MB / 0.7495 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.9166, allocations: 301.1 kB / 0.7498 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/0.9201, allocations: 3.209 MB / 0.753 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005415/0.9255, allocations: 8.645 MB / 0.7614 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009598/0.9352, allocations: 12.92 MB / 0.774 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/0.9354, allocations: 52 kB / 0.7741 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01595/0.9513, allocations: 11.67 MB / 0.7855 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.9514, allocations: 85 kB / 0.7855 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/0.9516, allocations: 192 kB / 0.7857 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.9518, allocations: 259.9 kB / 0.786 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/0.9576, allocations: 2.074 MB / 0.788 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002413/0.9579, allocations: 375.5 kB / 0.7884 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006309/0.9642, allocations: 1.357 MB / 0.7897 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/0.9656, allocations: 0.5582 MB / 0.7902 GB, free: 100.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00569/0.9713, allocations: 3.702 MB / 0.7938 GB, free: 96.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/0.9721, allocations: 0.5043 MB / 0.7943 GB, free: 96.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.9735, allocations: 0.6449 MB / 0.795 GB, free: 95.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/0.9735, allocations: 59.5 kB / 0.795 GB, free: 95.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.9736, allocations: 7.938 kB / 0.795 GB, free: 95.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.9736, allocations: 11.95 kB / 0.795 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.9927, allocations: 12.63 MB / 0.8074 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.9928, allocations: 16 kB / 0.8074 GB, free: 82.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.9944, allocations: 415.3 kB / 0.8078 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/0.9944, allocations: 24 kB / 0.8078 GB, free: 82.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.9946, allocations: 60 kB / 0.8079 GB, free: 81.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/0.9946, allocations: 35.8 kB / 0.8079 GB, free: 81.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.9946, allocations: 19.94 kB / 0.8079 GB, free: 81.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.9991, allocations: 4.664 MB / 0.8125 GB, free: 77.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1, allocations: 0.5867 MB / 0.8131 GB, free: 76.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008182/1.001, allocations: 59.81 kB / 0.8131 GB, free: 76.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.003, allocations: 127.8 kB / 0.8132 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/1.003, allocations: 184.6 kB / 0.8134 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.003, allocations: 95.98 kB / 0.8135 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0046/1.008, allocations: 3.489 MB / 0.8169 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/1.008, allocations: 0 / 0.8169 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007089/1.015, allocations: 1.963 MB / 0.8188 GB, free: 70.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005193/1.02, allocations: 5.343 MB / 0.824 GB, free: 64.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009237/1.03, allocations: 7.336 MB / 0.8312 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.03, allocations: 4 kB / 0.8312 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.032, allocations: 2.011 MB / 0.8332 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.035, allocations: 0.6246 MB / 0.8338 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09214/1.127, allocations: 68.35 MB / 0.9005 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009798/1.137, allocations: 5.419 MB / 0.9058 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008583/1.146, allocations: 3.543 MB / 0.9093 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006072/1.152, allocations: 3.321 MB / 0.9125 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.152, allocations: 0 / 0.9125 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3988/1.551, allocations: 91.16 MB / 1.002 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.27/24.82, allocations: 9.484 kB / 1.002 GB, free: 196.7 MB / 0.6387 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)