Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001676, allocations: 118.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.001969/0.001969, allocations: 198 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.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.43 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.2239/0.2239, allocations: 46.12 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.002363/0.002363, allocations: 83.84 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3235, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009038/0.3326, allocations: 7.595 MB / 0.538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.338, allocations: 2.581 MB / 0.5405 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009945/0.339, allocations: 36.94 kB / 0.5406 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.3411, allocations: 0.8932 MB / 0.5415 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.3422, allocations: 302.9 kB / 0.5417 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.3431, allocations: 320.3 kB / 0.542 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.3442, allocations: 0.7317 MB / 0.5428 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3452, allocations: 0.8249 MB / 0.5436 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.3457, allocations: 355.1 kB / 0.5439 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009055/0.3466, allocations: 0.66 MB / 0.5446 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.3468, allocations: 104.5 kB / 0.5446 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.3478, allocations: 0.5153 MB / 0.5452 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.3483, allocations: 498.3 kB / 0.5456 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.3489, allocations: 0.571 MB / 0.5462 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.351, allocations: 1.774 MB / 0.5479 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.351, allocations: 8 kB / 0.5479 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3511, allocations: 0 / 0.5479 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.3511, allocations: 3.938 kB / 0.5479 GB, free: 15.94 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003319/0.3544, allocations: 1.652 MB / 0.5495 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3545, allocations: 12.03 kB / 0.5496 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.3547, allocations: 186.5 kB / 0.5497 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/0.3554, allocations: 168 kB / 0.5499 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3564, allocations: 0.6398 MB / 0.5505 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3565, allocations: 62.09 kB / 0.5506 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.3567, allocations: 83.97 kB / 0.5507 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.3618, allocations: 2.666 MB / 0.5533 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.3618, allocations: 11.94 kB / 0.5533 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.3619, allocations: 35.97 kB / 0.5533 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004964/0.3624, allocations: 381.7 kB / 0.5537 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00537/0.3678, allocations: 2.357 MB / 0.556 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00985/0.3777, allocations: 8.257 MB / 0.564 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.3816, allocations: 0.9755 MB / 0.565 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3821, allocations: 260.7 kB / 0.5652 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.3837, allocations: 1.726 MB / 0.5669 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3838, allocations: 42.56 kB / 0.567 GB, free: 11.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/0.3838, allocations: 0 / 0.567 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01158/0.3954, allocations: 2.957 MB / 0.5699 GB, free: 8.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3955, allocations: 63.97 kB / 0.5699 GB, free: 8.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3967, allocations: 0.8953 MB / 0.5708 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.3968, allocations: 29.7 kB / 0.5708 GB, free: 7.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.3975, allocations: 0.6861 MB / 0.5715 GB, free: 6.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.3977, allocations: 222.2 kB / 0.5717 GB, free: 6.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.3981, allocations: 246.8 kB / 0.5719 GB, free: 6.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.3983, allocations: 402.7 kB / 0.5723 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.3989, allocations: 370.4 kB / 0.5727 GB, free: 5.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4, allocations: 0.9991 MB / 0.5736 GB, free: 4.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.402, allocations: 1.499 MB / 0.5751 GB, free: 2.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.402, allocations: 8 kB / 0.5751 GB, free: 2.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002169/0.4042, allocations: 1.397 MB / 0.5765 GB, free: 1.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4042, allocations: 15.94 kB / 0.5765 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.4042, allocations: 24 kB / 0.5765 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/0.4043, allocations: 28 kB / 0.5765 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4055, allocations: 323.5 kB / 0.5769 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.4068, allocations: 1.46 MB / 0.5783 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.4075, allocations: 52.06 kB / 0.5783 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.4076, allocations: 67.94 kB / 0.5784 GB, free: 15.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006924/0.4083, allocations: 0.4932 MB / 0.5789 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4085, allocations: 95.33 kB / 0.579 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.4087, allocations: 116.5 kB / 0.5791 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4087, allocations: 8 kB / 0.5791 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4087, allocations: 8 kB / 0.5791 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4088, allocations: 3.984 kB / 0.5791 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.4126, allocations: 2.156 MB / 0.5812 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4126, allocations: 4 kB / 0.5812 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.4131, allocations: 127.8 kB / 0.5813 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.4131, allocations: 16.59 kB / 0.5813 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.4132, allocations: 20 kB / 0.5814 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.4145, allocations: 1.429 MB / 0.5828 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.4146, allocations: 7.938 kB / 0.5828 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4156, allocations: 0.8351 MB / 0.5836 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.4159, allocations: 168.5 kB / 0.5837 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.416, allocations: 19.94 kB / 0.5838 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4163, allocations: 16 kB / 0.5838 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4164, allocations: 55.77 kB / 0.5838 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.4165, allocations: 23.98 kB / 0.5839 GB, free: 9.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008212/0.4173, allocations: 0.5927 MB / 0.5844 GB, free: 8.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4173, allocations: 0 / 0.5844 GB, free: 8.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4184, allocations: 216 kB / 0.5846 GB, free: 8.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.4199, allocations: 1.402 MB / 0.586 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.4215, allocations: 0.885 MB / 0.5869 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4215, allocations: 0 / 0.5869 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.422, allocations: 291.2 kB / 0.5871 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.4228, allocations: 123.1 kB / 0.5873 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4359, allocations: 9.422 MB / 0.5965 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.437, allocations: 1.216 MB / 0.5977 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007991/0.4378, allocations: 343.6 kB / 0.598 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.4384, allocations: 403.3 kB / 0.5984 GB, free: 9.23 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4384, allocations: 0 / 0.5984 GB, free: 9.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.4841, allocations: 17.23 MB / 0.6152 GB, free: 8.172 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.74, allocations: 7.984 kB / 0.6152 GB, free: 8.164 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical_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_SphericalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)