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.001479/0.001479, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.4 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.2349/0.2349, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002316/0.002316, allocations: 83.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3497, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009171/0.3589, allocations: 7.59 MB / 0.538 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.3647, allocations: 2.582 MB / 0.5405 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3658, allocations: 32.41 kB / 0.5406 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.3679, allocations: 0.8974 MB / 0.5415 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.3688, allocations: 306.6 kB / 0.5417 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.3696, allocations: 320.1 kB / 0.5421 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009666/0.3706, allocations: 0.7368 MB / 0.5428 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.3716, allocations: 0.8129 MB / 0.5436 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.3721, allocations: 354.5 kB / 0.5439 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/0.3731, allocations: 0.6607 MB / 0.5445 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.3733, allocations: 104.9 kB / 0.5446 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.3742, allocations: 0.515 MB / 0.5452 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005321/0.3747, allocations: 0.4892 MB / 0.5456 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.3753, allocations: 0.571 MB / 0.5462 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.3775, allocations: 1.778 MB / 0.5479 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3776, allocations: 0 / 0.5479 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3776, allocations: 0 / 0.5479 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.3776, allocations: 0 / 0.5479 GB, free: 15.93 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.003373/0.381, allocations: 1.66 MB / 0.5495 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.381, allocations: 8.031 kB / 0.5496 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.3813, allocations: 186.5 kB / 0.5497 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.382, allocations: 168 kB / 0.5499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3831, allocations: 0.6399 MB / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3832, allocations: 62.09 kB / 0.5506 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.3834, allocations: 79.97 kB / 0.5507 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005347/0.3887, allocations: 2.67 MB / 0.5533 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.3888, allocations: 7.938 kB / 0.5533 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.3889, allocations: 35.97 kB / 0.5533 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005259/0.3894, allocations: 385.7 kB / 0.5537 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.395, allocations: 2.361 MB / 0.556 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.4051, allocations: 8.253 MB / 0.564 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.409, allocations: 0.9755 MB / 0.565 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.4095, allocations: 264.7 kB / 0.5652 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.4111, allocations: 1.726 MB / 0.5669 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4112, allocations: 42.59 kB / 0.567 GB, free: 11.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.4112, allocations: 0 / 0.567 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01188/0.4231, allocations: 2.965 MB / 0.5699 GB, free: 8.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4232, allocations: 59.91 kB / 0.5699 GB, free: 8.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4244, allocations: 0.8953 MB / 0.5708 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.4244, allocations: 41.64 kB / 0.5708 GB, free: 7.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.4249, allocations: 0.6783 MB / 0.5715 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.4251, allocations: 222.2 kB / 0.5717 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.4255, allocations: 242.8 kB / 0.5719 GB, free: 6.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4257, allocations: 406.7 kB / 0.5723 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.4263, allocations: 370.4 kB / 0.5727 GB, free: 5.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4273, allocations: 0.9952 MB / 0.5736 GB, free: 4.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.4292, allocations: 1.499 MB / 0.5751 GB, free: 2.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.4292, allocations: 8 kB / 0.5751 GB, free: 2.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002257/0.4315, allocations: 1.393 MB / 0.5765 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.4315, allocations: 19.94 kB / 0.5765 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.4316, allocations: 24 kB / 0.5765 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.516e-05/0.4316, allocations: 32 kB / 0.5766 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4328, allocations: 324.1 kB / 0.5769 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.4341, allocations: 1.451 MB / 0.5783 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.4348, allocations: 48 kB / 0.5783 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.4349, allocations: 67.94 kB / 0.5784 GB, free: 15.1 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.0007064/0.4356, allocations: 0.5049 MB / 0.5789 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4358, allocations: 87.39 kB / 0.579 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.436, allocations: 116.5 kB / 0.5791 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4361, allocations: 11.98 kB / 0.5791 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4361, allocations: 0 / 0.5791 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4361, allocations: 3.984 kB / 0.5791 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.4396, allocations: 2.156 MB / 0.5812 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4396, allocations: 8.812 kB / 0.5812 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.4402, allocations: 131.8 kB / 0.5813 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.4402, allocations: 8 kB / 0.5813 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.4402, allocations: 16 kB / 0.5814 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.4413, allocations: 1.429 MB / 0.5828 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/0.4413, allocations: 11.94 kB / 0.5828 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4423, allocations: 0.8351 MB / 0.5836 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.4425, allocations: 168.5 kB / 0.5837 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.4426, allocations: 23.94 kB / 0.5838 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.443, allocations: 12 kB / 0.5838 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4431, allocations: 55.81 kB / 0.5838 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.4431, allocations: 20 kB / 0.5838 GB, free: 9.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007987/0.4439, allocations: 0.5927 MB / 0.5844 GB, free: 8.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4439, allocations: 4 kB / 0.5844 GB, free: 8.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009959/0.4449, allocations: 216 kB / 0.5846 GB, free: 8.305 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.001395/0.4463, allocations: 1.402 MB / 0.586 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.4479, allocations: 0.8821 MB / 0.5869 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4479, allocations: 3.938 kB / 0.5869 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.4484, allocations: 293.2 kB / 0.5871 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/0.4491, allocations: 120.6 kB / 0.5873 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.4619, allocations: 9.422 MB / 0.5965 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4629, allocations: 1.216 MB / 0.5977 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008299/0.4638, allocations: 339.6 kB / 0.598 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.4643, allocations: 403.3 kB / 0.5984 GB, free: 9.227 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4644, allocations: 3.938 kB / 0.5984 GB, free: 9.223 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.5097, allocations: 17.24 MB / 0.6152 GB, free: 8.156 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.17, allocations: 4.062 kB / 0.6152 GB, free: 8.152 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)