Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002023/0.002023, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2301/0.2301, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002309/0.002309, allocations: 78.45 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01024/0.1304, allocations: 8.111 MB / 488.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.136, allocations: 2.637 MB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.1369, allocations: 39.94 kB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.1396, allocations: 1.296 MB / 492.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.1407, allocations: 449.7 kB / 492.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.1416, allocations: 407.1 kB / 493.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1429, allocations: 1.036 MB / 494.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1443, allocations: 1.191 MB / 495.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.1449, allocations: 0.5255 MB / 495.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.1461, allocations: 0.7709 MB / 496.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.1463, allocations: 116 kB / 496.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1473, allocations: 0.5811 MB / 497.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.1481, allocations: 0.713 MB / 498.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007655/0.1489, allocations: 0.7921 MB / 498.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.1516, allocations: 2.414 MB / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1516, allocations: 4 kB / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1516, allocations: 0 / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.1516, allocations: 0 / 0.4895 GB, free: 15.94 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004293/0.1559, allocations: 2.133 MB / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.156, allocations: 12.03 kB / 0.4916 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/0.1563, allocations: 288.6 kB / 0.4919 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.1574, allocations: 274.2 kB / 0.4922 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1588, allocations: 0.8419 MB / 0.493 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.1589, allocations: 86.7 kB / 0.4931 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.1592, allocations: 127.8 kB / 0.4932 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007762/0.1669, allocations: 4.28 MB / 0.4974 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.167, allocations: 11.88 kB / 0.4974 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.1672, allocations: 55.94 kB / 0.4974 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/0.1683, allocations: 0.721 MB / 0.4981 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/0.1762, allocations: 3.512 MB / 0.5016 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/0.3835, allocations: 14.3 MB / 0.5155 GB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.3875, allocations: 1.212 MB / 0.5167 GB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/0.3884, allocations: 0.6958 MB / 0.5174 GB, free: 31.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004909/0.3933, allocations: 3.689 MB / 0.521 GB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3933, allocations: 41.81 kB / 0.521 GB, free: 29.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.3933, allocations: 0 / 0.521 GB, free: 29.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.006473/0.3998, allocations: 1.758 MB / 0.5227 GB, free: 29.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3999, allocations: 60.5 kB / 0.5228 GB, free: 29.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.4018, allocations: 1.483 MB / 0.5243 GB, free: 28.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4018, allocations: 32.05 kB / 0.5243 GB, free: 28.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.4024, allocations: 1.194 MB / 0.5254 GB, free: 27.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4025, allocations: 178.6 kB / 0.5256 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.4029, allocations: 432.5 kB / 0.526 GB, free: 27.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.403, allocations: 355.3 kB / 0.5264 GB, free: 26.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.4036, allocations: 488.3 kB / 0.5268 GB, free: 26.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/0.4046, allocations: 1.89 MB / 0.5287 GB, free: 24.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.4064, allocations: 2.604 MB / 0.5312 GB, free: 21.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.4064, allocations: 13.75 kB / 0.5312 GB, free: 21.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002787/0.4092, allocations: 2.271 MB / 0.5335 GB, free: 20.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4093, allocations: 27.69 kB / 0.5335 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.4093, allocations: 51.09 kB / 0.5335 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/0.4094, allocations: 69.56 kB / 0.5336 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4105, allocations: 488.2 kB / 0.5341 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.003e-05/0.4106, allocations: 99.58 kB / 0.5342 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4118, allocations: 298 kB / 0.5344 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4119, allocations: 135.8 kB / 0.5346 GB, free: 20.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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 prepare postOptimizeDAE: time 0.000808/0.4128, allocations: 0.7671 MB / 0.5353 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.4129, allocations: 122 kB / 0.5354 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.4131, allocations: 141.5 kB / 0.5356 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4131, allocations: 3.844 kB / 0.5356 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4131, allocations: 0 / 0.5356 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4131, allocations: 3.984 kB / 0.5356 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.416, allocations: 2.89 MB / 0.5384 GB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.4161, allocations: 15.98 kB / 0.5384 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4163, allocations: 102.9 kB / 0.5385 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4164, allocations: 16 kB / 0.5385 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.4164, allocations: 20 kB / 0.5386 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.4164, allocations: 23.92 kB / 0.5386 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.4164, allocations: 16.47 kB / 0.5386 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.4171, allocations: 0.8789 MB / 0.5394 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.4173, allocations: 223.1 kB / 0.5397 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.4174, allocations: 28 kB / 0.5397 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.4178, allocations: 27.98 kB / 0.5397 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.4179, allocations: 71.58 kB / 0.5398 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.4179, allocations: 28 kB / 0.5398 GB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009022/0.4188, allocations: 0.9089 MB / 0.5407 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4189, allocations: 0 / 0.5407 GB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4205, allocations: 402.6 kB / 0.5411 GB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.0009152/0.4214, allocations: 1.439 MB / 0.5425 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.4231, allocations: 1.212 MB / 0.5437 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4231, allocations: 0 / 0.5437 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.4234, allocations: 246.4 kB / 0.5439 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.4244, allocations: 199.3 kB / 0.5441 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.4404, allocations: 14.79 MB / 0.5585 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4421, allocations: 1.536 MB / 0.56 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001564/0.4437, allocations: 0.5751 MB / 0.5606 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.4445, allocations: 0.6125 MB / 0.5612 GB, free: 7.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4445, allocations: 0 / 0.5612 GB, free: 7.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.4965, allocations: 22.42 MB / 0.5831 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/9.131, allocations: 6.484 kB / 0.5831 GB, free: 0.8633 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS_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_JointUPS.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)