Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_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.001371/0.001371, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001244/0.001244, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2758/0.2758, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 74.16 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1041, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006851/0.111, allocations: 7.629 MB / 448.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.1161, allocations: 2.536 MB / 450.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.1168, allocations: 31.94 kB / 450.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.1187, allocations: 0.8915 MB / 451.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.1193, allocations: 318.2 kB / 452 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.12, allocations: 311.3 kB / 452.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.1208, allocations: 0.7475 MB / 453.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.1217, allocations: 0.8296 MB / 453.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.1221, allocations: 370.5 kB / 454.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.1229, allocations: 0.6582 MB / 454.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.1231, allocations: 104 kB / 455 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.1239, allocations: 0.5109 MB / 455.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.1243, allocations: 0.4948 MB / 456 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.1249, allocations: 0.5671 MB / 456.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.1265, allocations: 1.748 MB / 458.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1265, allocations: 0 / 458.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1265, allocations: 0 / 458.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.1266, allocations: 0 / 458.3 MB, free: 5.008 MB / 334.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.002941/0.1295, allocations: 1.626 MB / 460 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1296, allocations: 15.89 kB / 460 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.1298, allocations: 182.5 kB / 460.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.1304, allocations: 159.2 kB / 460.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.1313, allocations: 0.6395 MB / 461 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.1313, allocations: 58.11 kB / 461 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.1316, allocations: 83.88 kB / 461.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/0.1362, allocations: 2.673 MB / 463.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.1363, allocations: 7.938 kB / 463.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.1363, allocations: 39.97 kB / 463.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004411/0.1368, allocations: 385.7 kB / 464.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/0.1417, allocations: 2.353 MB / 466.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008453/0.1502, allocations: 8.275 MB / 474.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.154, allocations: 0.9809 MB / 475.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1544, allocations: 268.7 kB / 476.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.156, allocations: 1.722 MB / 477.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1561, allocations: 42.5 kB / 477.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.1561, allocations: 0 / 477.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.01143/0.1675, allocations: 2.951 MB / 480.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1676, allocations: 55.97 kB / 480.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.1688, allocations: 0.903 MB / 481.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.1688, allocations: 37.7 kB / 481.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.1693, allocations: 0.6642 MB / 482.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1694, allocations: 209.2 kB / 482.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.1698, allocations: 250.6 kB / 482.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1699, allocations: 398.7 kB / 483.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.1704, allocations: 366.4 kB / 483.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.1714, allocations: 1.003 MB / 484.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1731, allocations: 1.491 MB / 486.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.1731, allocations: 7.938 kB / 486.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001992/0.1751, allocations: 1.397 MB / 487.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.1751, allocations: 19.94 kB / 487.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.1752, allocations: 24 kB / 487.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.1752, allocations: 28 kB / 487.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.1763, allocations: 319.4 kB / 487.9 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1774, allocations: 1.459 MB / 489.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.178, allocations: 47.91 kB / 489.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.1781, allocations: 71.94 kB / 489.5 MB, free: 4.223 MB / 366.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.0006483/0.1788, allocations: 0.5009 MB / 490 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.1789, allocations: 90.94 kB / 490.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1791, allocations: 116.7 kB / 490.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1791, allocations: 4 kB / 490.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1791, allocations: 0 / 490.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1791, allocations: 7.984 kB / 490.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.1825, allocations: 2.168 MB / 492.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.1825, allocations: 8.125 kB / 492.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.183, allocations: 131.8 kB / 492.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.183, allocations: 8 kB / 492.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.183, allocations: 24 kB / 492.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008957/0.184, allocations: 1.416 MB / 494 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.184, allocations: 8 kB / 494 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.1849, allocations: 0.8338 MB / 494.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.1852, allocations: 207.9 kB / 495 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.1853, allocations: 19.94 kB / 495 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.1857, allocations: 12 kB / 495 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.1858, allocations: 55.83 kB / 495.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.1858, allocations: 20 kB / 495.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007906/0.1866, allocations: 0.6044 MB / 495.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.1866, allocations: 3.938 kB / 495.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001103/0.1877, allocations: 215.9 kB / 495.9 MB, free: 13.38 MB / 382.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.001616/0.1893, allocations: 1.412 MB / 497.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.1913, allocations: 0.9374 MB / 498.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.1913, allocations: 4 kB / 498.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.1918, allocations: 277 kB / 498.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.1926, allocations: 137.6 kB / 498.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.2071, allocations: 9.822 MB / 0.4966 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.2083, allocations: 1.224 MB / 0.4978 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008977/0.2093, allocations: 339.6 kB / 0.4981 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.2099, allocations: 411.3 kB / 0.4985 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2099, allocations: 4 kB / 0.4985 GB, free: 13.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.2516, allocations: 16.94 MB / 0.515 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.259, allocations: 7.422 kB / 0.5151 GB, free: 12.8 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches