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.001119/0.001119, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001032/0.001032, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.279/1.279, 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.188/0.188, allocations: 43.52 MB / 314.1 MB, free: 452 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.001396/0.001396, allocations: 73.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08971, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.007616/0.09737, allocations: 7.632 MB / 0.4949 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.1015, allocations: 2.54 MB / 0.4973 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.1021, allocations: 31.94 kB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.1038, allocations: 0.8798 MB / 0.4982 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.1044, allocations: 334.3 kB / 0.4986 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.1051, allocations: 327.2 kB / 0.4989 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007292/0.1059, allocations: 0.7475 MB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.1067, allocations: 0.8217 MB / 0.5004 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.1071, allocations: 366.6 kB / 0.5007 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.1079, allocations: 0.6582 MB / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.108, allocations: 104 kB / 0.5015 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.1087, allocations: 0.5265 MB / 0.502 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.1091, allocations: 0.491 MB / 0.5025 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.1096, allocations: 0.571 MB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1112, allocations: 1.786 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1112, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1112, allocations: 4 kB / 0.5048 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1112, allocations: 0 / 0.5048 GB, free: 10.4 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.002884/0.1141, allocations: 1.668 MB / 0.5064 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1142, allocations: 11.89 kB / 0.5064 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1144, allocations: 182.5 kB / 0.5066 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.115, allocations: 172 kB / 0.5068 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.116, allocations: 0.6399 MB / 0.5074 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.1161, allocations: 70.02 kB / 0.5075 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.1163, allocations: 83.91 kB / 0.5075 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.1209, allocations: 2.669 MB / 0.5101 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.121, allocations: 7.938 kB / 0.5102 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.1211, allocations: 35.97 kB / 0.5102 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004237/0.1215, allocations: 381.7 kB / 0.5106 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.1262, allocations: 2.361 MB / 0.5129 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008585/0.1348, allocations: 8.253 MB / 0.5209 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.1385, allocations: 0.9833 MB / 0.5219 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.1389, allocations: 256.7 kB / 0.5221 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.1403, allocations: 1.73 MB / 0.5238 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1403, allocations: 38.55 kB / 0.5238 GB, free: 6.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.345e-06/0.1403, allocations: 0 / 0.5238 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01117/0.1515, allocations: 2.968 MB / 0.5267 GB, free: 3.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1516, allocations: 59.91 kB / 0.5268 GB, free: 3.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1526, allocations: 0.9032 MB / 0.5277 GB, free: 2.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1526, allocations: 33.7 kB / 0.5277 GB, free: 2.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.153, allocations: 0.6822 MB / 0.5284 GB, free: 1.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1532, allocations: 226.1 kB / 0.5286 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.1535, allocations: 250.8 kB / 0.5288 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1537, allocations: 406.7 kB / 0.5292 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.1542, allocations: 370.4 kB / 0.5296 GB, free: 140 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1883/0.3424, allocations: 0.9902 MB / 0.5305 GB, free: 39.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.3438, allocations: 1.498 MB / 0.532 GB, free: 39.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.3438, allocations: 7.125 kB / 0.532 GB, free: 39.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001937/0.3457, allocations: 1.397 MB / 0.5334 GB, free: 38.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3458, allocations: 19.03 kB / 0.5334 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.3458, allocations: 21.38 kB / 0.5334 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.612e-05/0.3458, allocations: 32.38 kB / 0.5335 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.347, allocations: 324.6 kB / 0.5338 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007041/0.3477, allocations: 1.459 MB / 0.5352 GB, free: 37.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.3484, allocations: 50.94 kB / 0.5352 GB, free: 37.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.3485, allocations: 65.86 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.0005874/0.3491, allocations: 0.492 MB / 0.5358 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3492, allocations: 94.16 kB / 0.5359 GB, free: 37.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.3493, allocations: 127.2 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3494, allocations: 5.969 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3494, allocations: 0.8438 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.3494, allocations: 3.656 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.3527, allocations: 2.166 MB / 0.5381 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3527, allocations: 5.688 kB / 0.5381 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.3532, allocations: 126.8 kB / 0.5382 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.3532, allocations: 7.969 kB / 0.5382 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.3532, allocations: 23.44 kB / 0.5383 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005539/0.3538, allocations: 1.425 MB / 0.5397 GB, free: 35.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.3538, allocations: 11.66 kB / 0.5397 GB, free: 35.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.3545, allocations: 0.8421 MB / 0.5405 GB, free: 34.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.3548, allocations: 206.2 kB / 0.5407 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.3549, allocations: 21.19 kB / 0.5407 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3552, allocations: 23.17 kB / 0.5407 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.3553, allocations: 49.36 kB / 0.5408 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.3554, allocations: 25.84 kB / 0.5408 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.3561, allocations: 0.6008 MB / 0.5414 GB, free: 34.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3561, allocations: 0 / 0.5414 GB, free: 34.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3572, allocations: 217.4 kB / 0.5416 GB, free: 34.22 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.0009479/0.3581, allocations: 1.402 MB / 0.543 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3594, allocations: 0.8812 MB / 0.5438 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3594, allocations: 1.812 kB / 0.5438 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.3598, allocations: 284.8 kB / 0.5441 GB, free: 32.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.3606, allocations: 120.7 kB / 0.5442 GB, free: 32.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.3711, allocations: 9.442 MB / 0.5534 GB, free: 26.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.3719, allocations: 1.227 MB / 0.5546 GB, free: 25.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000824/0.3728, allocations: 339.3 kB / 0.555 GB, free: 25.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.3732, allocations: 407.5 kB / 0.5553 GB, free: 25.52 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3732, allocations: 0 / 0.5553 GB, free: 25.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.4053, allocations: 17.32 MB / 0.5723 GB, free: 13.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/14.87, allocations: 0 / 0.5723 GB, free: 13.81 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