Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 114.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 60.82 MB / 0.5184 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009449/0.2931, allocations: 7.606 MB / 0.5259 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.2983, allocations: 2.528 MB / 0.5283 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.2992, allocations: 34.19 kB / 0.5284 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3011, allocations: 0.8924 MB / 0.5292 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.302, allocations: 315.9 kB / 0.5295 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.3028, allocations: 324.5 kB / 0.5298 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009554/0.3037, allocations: 0.7341 MB / 0.5306 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009575/0.3047, allocations: 0.8295 MB / 0.5314 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.3052, allocations: 362.9 kB / 0.5317 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.3061, allocations: 0.6609 MB / 0.5324 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.3062, allocations: 104.3 kB / 0.5325 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.3072, allocations: 0.512 MB / 0.533 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.3077, allocations: 0.495 MB / 0.5335 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.3083, allocations: 0.5711 MB / 0.534 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3104, allocations: 1.787 MB / 0.5358 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3105, allocations: 0 / 0.5358 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3105, allocations: 1.25 kB / 0.5358 GB, free: 7.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.3105, allocations: 4 kB / 0.5358 GB, free: 7.453 MB / 398.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.003446/0.314, allocations: 1.666 MB / 0.5374 GB, free: 6.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.314, allocations: 10.19 kB / 0.5374 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/0.3142, allocations: 183.7 kB / 0.5376 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.3149, allocations: 169.6 kB / 0.5377 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.316, allocations: 0.6388 MB / 0.5384 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.3161, allocations: 60.47 kB / 0.5384 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.3163, allocations: 84.27 kB / 0.5385 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00523/0.3215, allocations: 2.674 MB / 0.5411 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.3215, allocations: 15.23 kB / 0.5411 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.3217, allocations: 34.5 kB / 0.5412 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004941/0.3222, allocations: 380 kB / 0.5415 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.3276, allocations: 2.368 MB / 0.5438 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009557/0.3372, allocations: 8.246 MB / 0.5519 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/0.3412, allocations: 0.9717 MB / 0.5528 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.3416, allocations: 264.7 kB / 0.5531 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.3433, allocations: 1.726 MB / 0.5548 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3433, allocations: 34.66 kB / 0.5548 GB, free: 5.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.214e-06/0.3434, allocations: 7.938 kB / 0.5548 GB, free: 5.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01205/0.3554, allocations: 2.961 MB / 0.5577 GB, free: 2.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3555, allocations: 59.91 kB / 0.5578 GB, free: 2.836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.3568, allocations: 0.9147 MB / 0.5587 GB, free: 1.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.3568, allocations: 37.7 kB / 0.5587 GB, free: 1.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.3575, allocations: 0.6783 MB / 0.5593 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.3577, allocations: 222.2 kB / 0.5596 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.358, allocations: 254.7 kB / 0.5598 GB, free: 0.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.3583, allocations: 398.7 kB / 0.5602 GB, free: 316 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.3589, allocations: 366.4 kB / 0.5605 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.36, allocations: 0.9992 MB / 0.5615 GB, free: 14.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.3621, allocations: 1.495 MB / 0.563 GB, free: 12.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.3621, allocations: 8 kB / 0.563 GB, free: 12.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002154/0.3643, allocations: 1.397 MB / 0.5643 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.3643, allocations: 19.94 kB / 0.5644 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.3644, allocations: 20 kB / 0.5644 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.907e-05/0.3644, allocations: 32 kB / 0.5644 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3656, allocations: 319.4 kB / 0.5647 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.3671, allocations: 1.455 MB / 0.5661 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.3679, allocations: 52.16 kB / 0.5662 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.368, allocations: 67.94 kB / 0.5662 GB, free: 9.34 MB / 430.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.0007194/0.3687, allocations: 0.4932 MB / 0.5667 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3688, allocations: 91.39 kB / 0.5668 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3691, allocations: 120.7 kB / 0.5669 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3691, allocations: 4 kB / 0.5669 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3691, allocations: 7.984 kB / 0.5669 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3691, allocations: 3.984 kB / 0.5669 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.3729, allocations: 2.175 MB / 0.5691 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.3729, allocations: 4 kB / 0.5691 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.3735, allocations: 123.8 kB / 0.5692 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.3735, allocations: 12 kB / 0.5692 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.3735, allocations: 16 kB / 0.5692 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.3748, allocations: 1.421 MB / 0.5706 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/0.3748, allocations: 7.938 kB / 0.5706 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3759, allocations: 0.8427 MB / 0.5714 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.3762, allocations: 168.5 kB / 0.5716 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.3763, allocations: 23.94 kB / 0.5716 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3766, allocations: 15.98 kB / 0.5716 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.3767, allocations: 51.83 kB / 0.5717 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3768, allocations: 23.94 kB / 0.5717 GB, free: 3.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008018/0.3776, allocations: 0.6005 MB / 0.5723 GB, free: 2.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3776, allocations: 0 / 0.5723 GB, free: 2.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009812/0.3786, allocations: 212 kB / 0.5725 GB, free: 2.531 MB / 430.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.00141/0.38, allocations: 1.414 MB / 0.5739 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.3815, allocations: 0.8777 MB / 0.5747 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.3815, allocations: 4 kB / 0.5747 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.382, allocations: 282.3 kB / 0.575 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.3828, allocations: 127.3 kB / 0.5751 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.3955, allocations: 9.437 MB / 0.5843 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009954/0.3966, allocations: 1.22 MB / 0.5855 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008042/0.3974, allocations: 343.6 kB / 0.5859 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.3979, allocations: 411.3 kB / 0.5863 GB, free: 3.426 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.398, allocations: 3.938 kB / 0.5863 GB, free: 3.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/0.4424, allocations: 17.32 MB / 0.6032 GB, free: 2.289 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.58, allocations: 11.86 kB / 0.6032 GB, free: 2.281 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches