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.001267/0.001267, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2215/0.2215, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002292/0.002292, allocations: 74.41 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01901/0.1332, allocations: 16.94 MB / 497.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.1413, allocations: 3.948 MB / 0.4893 GB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.143, allocations: 99.81 kB / 0.4894 GB, free: 40 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.1471, allocations: 2.191 MB / 0.4916 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.1528, allocations: 2.497 MB / 0.494 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.1537, allocations: 299.5 kB / 0.4943 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.1638, allocations: 6.53 MB / 0.5007 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005919/0.1697, allocations: 3.334 MB / 0.5039 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2056/0.3754, allocations: 2.12 MB / 0.506 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005541/0.381, allocations: 2.771 MB / 0.5087 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002612/0.3836, allocations: 392.2 kB / 0.5091 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.3869, allocations: 0.8015 MB / 0.5099 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.3908, allocations: 2.731 MB / 0.5125 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00494/0.3958, allocations: 3.311 MB / 0.5158 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.4085, allocations: 10.05 MB / 0.5256 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4086, allocations: 0 / 0.5256 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4086, allocations: 1.125 kB / 0.5256 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004664/0.4091, allocations: 0 / 0.5256 GB, free: 10.64 MB / 382.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.01729/0.4264, allocations: 6.974 MB / 0.5324 GB, free: 6.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4264, allocations: 11.28 kB / 0.5324 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003184/0.4296, allocations: 1.274 MB / 0.5336 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/0.4484, allocations: 5.86 MB / 0.5394 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007779/0.4563, allocations: 3.249 MB / 0.5425 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.4566, allocations: 323.4 kB / 0.5429 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002348/0.4589, allocations: 422 kB / 0.5433 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03935/0.4983, allocations: 18.89 MB / 0.5617 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.4985, allocations: 33.47 kB / 0.5617 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002587/0.5011, allocations: 209 kB / 0.5619 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009224/0.5103, allocations: 4.74 MB / 0.5666 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03807/0.5484, allocations: 17.54 MB / 0.5837 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/0.6587, allocations: 61.24 MB / 0.6435 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/0.6763, allocations: 8.418 MB / 0.6517 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/0.6811, allocations: 2.58 MB / 0.6542 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/0.7062, allocations: 11.88 MB / 0.6658 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.7063, allocations: 56.56 kB / 0.6659 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 8.896e-06/0.7064, allocations: 0 / 0.6659 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.0211/0.7275, allocations: 7.52 MB / 0.6732 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.7276, allocations: 107 kB / 0.6733 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/0.7402, allocations: 5.664 MB / 0.6789 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004742/0.7408, allocations: 63.66 kB / 0.6789 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.006079/0.7468, allocations: 5.069 MB / 0.6839 GB, free: 480 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/0.7491, allocations: 1.203 MB / 0.685 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006715/0.7558, allocations: 1.908 MB / 0.6869 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.756, allocations: 305.1 kB / 0.6872 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006791/0.7628, allocations: 3.212 MB / 0.6903 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/0.7763, allocations: 8.651 MB / 0.6988 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2515/1.028, allocations: 12.91 MB / 0.7114 GB, free: 182.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002606/1.028, allocations: 58.56 kB / 0.7114 GB, free: 182.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02567/1.054, allocations: 11.63 MB / 0.7228 GB, free: 180 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/1.054, allocations: 87.59 kB / 0.7229 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004462/1.055, allocations: 191 kB / 0.7231 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/1.055, allocations: 256.1 kB / 0.7233 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00712/1.062, allocations: 2.076 MB / 0.7253 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004686/1.063, allocations: 376.6 kB / 0.7257 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008347/1.071, allocations: 1.327 MB / 0.727 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.074, allocations: 0.5463 MB / 0.7275 GB, free: 179.1 MB / 0.545 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.01016/1.084, allocations: 3.705 MB / 0.7312 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/1.085, allocations: 486.3 kB / 0.7316 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.088, allocations: 0.6413 MB / 0.7322 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/1.088, allocations: 59.06 kB / 0.7323 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.088, allocations: 0.6094 kB / 0.7323 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.045e-05/1.088, allocations: 13.97 kB / 0.7323 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/1.117, allocations: 12.64 MB / 0.7447 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/1.117, allocations: 10.94 kB / 0.7447 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.119, allocations: 424.1 kB / 0.7451 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-05/1.119, allocations: 24.17 kB / 0.7451 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.119, allocations: 53.62 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.794e-05/1.119, allocations: 37.52 kB / 0.7452 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.119, allocations: 20.06 kB / 0.7452 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/1.125, allocations: 4.634 MB / 0.7497 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.127, allocations: 0.5677 MB / 0.7503 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.128, allocations: 53.25 kB / 0.7503 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.13, allocations: 128.3 kB / 0.7505 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.13, allocations: 176.9 kB / 0.7506 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.13, allocations: 106 kB / 0.7507 GB, free: 168.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005912/1.136, allocations: 3.483 MB / 0.7541 GB, free: 166 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/1.136, allocations: 0 / 0.7541 GB, free: 166 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008987/1.145, allocations: 1.947 MB / 0.756 GB, free: 164.1 MB / 0.545 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.00601/1.151, allocations: 5.321 MB / 0.7612 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01775/1.169, allocations: 12.64 MB / 0.7736 GB, free: 147.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.169, allocations: 4 kB / 0.7736 GB, free: 147.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/1.172, allocations: 2.011 MB / 0.7755 GB, free: 145.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.176, allocations: 0.6209 MB / 0.7761 GB, free: 144.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/1.286, allocations: 77.92 MB / 0.8522 GB, free: 57.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/1.297, allocations: 5.414 MB / 0.8575 GB, free: 51.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00919/1.306, allocations: 3.543 MB / 0.861 GB, free: 48.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006441/1.312, allocations: 3.323 MB / 0.8642 GB, free: 44.76 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/1.312, allocations: 0 / 0.8642 GB, free: 44.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3786/1.691, allocations: 96.92 MB / 0.9589 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.96, allocations: 11.59 kB / 0.9589 GB, free: 182.8 MB / 0.5606 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)