Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.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.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 105.9 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.001303/0.001303, 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.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2238/0.2238, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002304/0.002304, allocations: 89 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01576/0.1407, allocations: 12.47 MB / 492.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.1491, allocations: 3.696 MB / 496.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.1509, allocations: 71.88 kB / 496.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007091/0.158, allocations: 3.898 MB / 0.4886 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.16, allocations: 0.8551 MB / 0.4894 GB, free: 56 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1616, allocations: 0.7096 MB / 0.4901 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.164, allocations: 2.197 MB / 0.4923 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005252/0.1693, allocations: 4.934 MB / 0.4971 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.1711, allocations: 1.457 MB / 0.4985 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.1737, allocations: 1.913 MB / 0.5004 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007269/0.1744, allocations: 452 kB / 0.5008 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.1762, allocations: 1.011 MB / 0.5018 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.178, allocations: 1.758 MB / 0.5035 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2156/0.3936, allocations: 2.021 MB / 0.5055 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4038, allocations: 6.758 MB / 0.5121 GB, free: 18.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4038, allocations: 1.094 kB / 0.5121 GB, free: 18.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4038, allocations: 0 / 0.5121 GB, free: 18.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000297/0.4042, allocations: 0.7812 kB / 0.5121 GB, free: 18.05 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01335/0.4175, allocations: 4.134 MB / 0.5161 GB, free: 16.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4176, allocations: 9.75 kB / 0.5162 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001662/0.4192, allocations: 0.5826 MB / 0.5167 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.422, allocations: 0.6183 MB / 0.5173 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.4268, allocations: 2.103 MB / 0.5194 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.4271, allocations: 239.7 kB / 0.5196 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.4283, allocations: 322.9 kB / 0.5199 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.4465, allocations: 8.205 MB / 0.5279 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.738e-05/0.4466, allocations: 13.84 kB / 0.5279 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.447, allocations: 135.6 kB / 0.5281 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.4484, allocations: 1.097 MB / 0.5291 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.464, allocations: 6.719 MB / 0.5357 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03816/0.5022, allocations: 24.29 MB / 0.5594 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006578/0.5089, allocations: 1.988 MB / 0.5614 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.5103, allocations: 0.8972 MB / 0.5622 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009236/0.5195, allocations: 6.363 MB / 0.5685 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.5196, allocations: 46.12 kB / 0.5685 GB, free: 9.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.886e-06/0.5196, allocations: 4 kB / 0.5685 GB, free: 9.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01791/0.5375, allocations: 5.746 MB / 0.5741 GB, free: 3.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5377, allocations: 123.2 kB / 0.5742 GB, free: 3.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.5415, allocations: 2.437 MB / 0.5766 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.5416, allocations: 41.7 kB / 0.5767 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.5435, allocations: 2.162 MB / 0.5788 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.5441, allocations: 394.8 kB / 0.5791 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.5452, allocations: 0.7259 MB / 0.5799 GB, free: 13.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5454, allocations: 305.1 kB / 0.5801 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.547, allocations: 0.9634 MB / 0.5811 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/0.5506, allocations: 3.048 MB / 0.5841 GB, free: 8.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/0.5567, allocations: 4.358 MB / 0.5883 GB, free: 3.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.571e-05/0.5568, allocations: 20 kB / 0.5883 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007432/0.5642, allocations: 3.935 MB / 0.5922 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.5643, allocations: 40 kB / 0.5922 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.5644, allocations: 72 kB / 0.5923 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.5646, allocations: 96.75 kB / 0.5924 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/0.567, allocations: 0.8056 MB / 0.5932 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001185/0.5671, allocations: 152.5 kB / 0.5933 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.5692, allocations: 175.6 kB / 0.5935 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.5695, allocations: 204 kB / 0.5937 GB, free: 14.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 448 * Array equations: 1 * 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.003081/0.5726, allocations: 1.576 MB / 0.5952 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.573, allocations: 225.2 kB / 0.5954 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.5736, allocations: 250.2 kB / 0.5957 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.5736, allocations: 8 kB / 0.5957 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5736, allocations: 4 kB / 0.5957 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.5736, allocations: 3.984 kB / 0.5957 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00926/0.5829, allocations: 5.859 MB / 0.6014 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.583, allocations: 20 kB / 0.6014 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.5837, allocations: 227.6 kB / 0.6016 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/0.5838, allocations: 24 kB / 0.6017 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.5838, allocations: 44 kB / 0.6017 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/0.5839, allocations: 35.86 kB / 0.6017 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.496e-05/0.5839, allocations: 35.88 kB / 0.6018 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.5863, allocations: 1.969 MB / 0.6037 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.587, allocations: 310.2 kB / 0.604 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.5872, allocations: 47.98 kB / 0.604 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.588, allocations: 43.98 kB / 0.6041 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.5882, allocations: 151.2 kB / 0.6042 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/0.5883, allocations: 56 kB / 0.6043 GB, free: 3.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002688/0.591, allocations: 1.598 MB / 0.6058 GB, free: 1.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.591, allocations: 0 / 0.6058 GB, free: 1.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003527/0.5945, allocations: 0.6016 MB / 0.6064 GB, free: 0.8867 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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 (123): * Single equations (assignments): 123 * Array equations: 0 * 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.002979/0.5975, allocations: 2.604 MB / 0.609 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004277/0.6018, allocations: 2.352 MB / 0.6113 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/0.6019, allocations: 4 kB / 0.6113 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.6027, allocations: 0.5368 MB / 0.6118 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.6051, allocations: 382.1 kB / 0.6122 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04745/0.6526, allocations: 29 MB / 0.6405 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/0.6562, allocations: 2.678 MB / 0.6431 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002594/0.6588, allocations: 0.8965 MB / 0.644 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/0.6609, allocations: 1.362 MB / 0.6453 GB, free: 4.539 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6609, allocations: 0 / 0.6453 GB, free: 4.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/0.7569, allocations: 45.91 MB / 0.6901 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.709/10.47, allocations: 20.02 kB / 0.6901 GB, free: 6.828 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP_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_Joints_JointRRP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)