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.00129/0.00129, allocations: 108 kB / 16.41 MB, free: 6.488 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.001273/0.001273, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2095/0.2095, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.00206/0.00206, allocations: 76.36 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009388/0.1148, allocations: 7.621 MB / 0.4949 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.1201, allocations: 2.543 MB / 0.4973 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.1213, allocations: 31.94 kB / 0.4974 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.1235, allocations: 0.8798 MB / 0.4982 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000973/0.1244, allocations: 318.2 kB / 0.4985 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.1254, allocations: 323.3 kB / 0.4988 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1265, allocations: 0.7475 MB / 0.4996 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1276, allocations: 0.8295 MB / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.1281, allocations: 374.5 kB / 0.5007 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009874/0.1291, allocations: 0.6466 MB / 0.5014 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.1293, allocations: 104 kB / 0.5015 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009144/0.1303, allocations: 0.5265 MB / 0.502 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.1308, allocations: 0.4909 MB / 0.5025 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.1314, allocations: 0.5788 MB / 0.503 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1336, allocations: 1.79 MB / 0.5048 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1336, allocations: 0 / 0.5048 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1336, allocations: 0 / 0.5048 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1336, allocations: 0 / 0.5048 GB, free: 10.44 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.003495/0.1371, allocations: 1.664 MB / 0.5064 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1372, allocations: 15.89 kB / 0.5064 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/0.1374, allocations: 182.5 kB / 0.5066 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.1381, allocations: 168 kB / 0.5068 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.1392, allocations: 0.6438 MB / 0.5074 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.1393, allocations: 62.09 kB / 0.5074 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1395, allocations: 83.92 kB / 0.5075 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.1447, allocations: 2.673 MB / 0.5101 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.462e-05/0.1448, allocations: 7.938 kB / 0.5101 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.1449, allocations: 35.97 kB / 0.5102 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005062/0.1454, allocations: 381.7 kB / 0.5105 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.1507, allocations: 2.357 MB / 0.5128 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008911/0.1596, allocations: 8.261 MB / 0.5209 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.1636, allocations: 0.9789 MB / 0.5219 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.164, allocations: 264.7 kB / 0.5221 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.1656, allocations: 1.73 MB / 0.5238 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1657, allocations: 38.56 kB / 0.5238 GB, free: 6.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.1657, allocations: 0 / 0.5238 GB, free: 6.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01168/0.1774, allocations: 2.964 MB / 0.5267 GB, free: 3.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1774, allocations: 59.97 kB / 0.5268 GB, free: 3.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.1786, allocations: 0.9032 MB / 0.5277 GB, free: 2.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1787, allocations: 33.7 kB / 0.5277 GB, free: 2.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.1792, allocations: 0.6861 MB / 0.5284 GB, free: 1.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1794, allocations: 230.1 kB / 0.5286 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.1798, allocations: 246.8 kB / 0.5288 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.18, allocations: 402.7 kB / 0.5292 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.1806, allocations: 370.4 kB / 0.5296 GB, free: 180 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.186/0.3665, allocations: 0.9902 MB / 0.5305 GB, free: 39.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3679, allocations: 1.499 MB / 0.532 GB, free: 39.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.368, allocations: 6.719 kB / 0.532 GB, free: 39.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001964/0.3699, allocations: 1.395 MB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.37, allocations: 18.69 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.37, allocations: 21.91 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.826e-05/0.3701, allocations: 32.02 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.3713, allocations: 322 kB / 0.5337 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008014/0.3721, allocations: 1.45 MB / 0.5352 GB, free: 37.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.3729, allocations: 54.06 kB / 0.5352 GB, free: 37.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.373, allocations: 66.31 kB / 0.5353 GB, free: 37.44 MB / 414.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.0006501/0.3736, allocations: 0.4946 MB / 0.5358 GB, free: 37.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3738, allocations: 104.3 kB / 0.5359 GB, free: 37.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.374, allocations: 115.9 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.374, allocations: 8.672 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.374, allocations: 5.422 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.374, allocations: 3.234 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.3774, allocations: 2.162 MB / 0.5381 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3774, allocations: 7.141 kB / 0.5381 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.3779, allocations: 131.1 kB / 0.5382 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.3779, allocations: 6.969 kB / 0.5382 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3779, allocations: 19.91 kB / 0.5383 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/0.3786, allocations: 1.423 MB / 0.5396 GB, free: 35.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3786, allocations: 11.53 kB / 0.5397 GB, free: 35.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.3795, allocations: 0.8376 MB / 0.5405 GB, free: 34.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.3797, allocations: 211.9 kB / 0.5407 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.3798, allocations: 17.16 kB / 0.5407 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.3802, allocations: 15.88 kB / 0.5407 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.3802, allocations: 54.33 kB / 0.5408 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.3803, allocations: 30.53 kB / 0.5408 GB, free: 34.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00082/0.3811, allocations: 0.5949 MB / 0.5414 GB, free: 34.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3811, allocations: 9.297 kB / 0.5414 GB, free: 34.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00112/0.3822, allocations: 217.1 kB / 0.5416 GB, free: 34.24 MB / 414.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.001055/0.3833, allocations: 1.401 MB / 0.543 GB, free: 33.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3848, allocations: 0.8837 MB / 0.5438 GB, free: 32.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3848, allocations: 1.094 kB / 0.5438 GB, free: 32.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.3852, allocations: 287.3 kB / 0.5441 GB, free: 32.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.386, allocations: 125.9 kB / 0.5442 GB, free: 32.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3984, allocations: 9.442 MB / 0.5534 GB, free: 26.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.3994, allocations: 1.223 MB / 0.5546 GB, free: 25.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009472/0.4004, allocations: 339.2 kB / 0.5549 GB, free: 25.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.4009, allocations: 411.7 kB / 0.5553 GB, free: 25.54 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4009, allocations: 1.438 kB / 0.5553 GB, free: 25.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.4404, allocations: 17.3 MB / 0.5722 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/15.92, allocations: 3.938 kB / 0.5722 GB, free: 13.88 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