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.001589/0.001589, allocations: 105 kB / 16.4 MB, free: 6.5 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.00183/0.00183, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1921/0.1921, allocations: 43.53 MB / 314.1 MB, free: 448 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.001631/0.001631, allocations: 73.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, 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.009322/0.1125, allocations: 7.636 MB / 0.4949 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.1179, allocations: 2.536 MB / 0.4973 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.119, allocations: 35.94 kB / 0.4974 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.1211, allocations: 0.8837 MB / 0.4982 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.1221, allocations: 310.3 kB / 0.4985 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.123, allocations: 335.2 kB / 0.4988 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.1242, allocations: 0.7397 MB / 0.4996 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1253, allocations: 0.8256 MB / 0.5004 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.126, allocations: 362.7 kB / 0.5007 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.127, allocations: 0.6621 MB / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.1273, allocations: 104 kB / 0.5015 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009787/0.1283, allocations: 0.5187 MB / 0.502 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.1289, allocations: 0.4948 MB / 0.5025 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008049/0.1297, allocations: 0.5749 MB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.1319, allocations: 1.783 MB / 0.5048 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1319, allocations: 0 / 0.5048 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1319, allocations: 0 / 0.5048 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.1319, allocations: 0 / 0.5048 GB, free: 10.42 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.003443/0.1354, allocations: 1.638 MB / 0.5064 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1354, allocations: 15.89 kB / 0.5064 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.1356, allocations: 182.5 kB / 0.5065 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006517/0.1363, allocations: 159.2 kB / 0.5067 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.1375, allocations: 0.6396 MB / 0.5073 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.1375, allocations: 62.09 kB / 0.5074 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.1377, allocations: 91.84 kB / 0.5075 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.1431, allocations: 2.661 MB / 0.5101 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.1432, allocations: 7.938 kB / 0.5101 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.1433, allocations: 39.97 kB / 0.5101 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004641/0.1438, allocations: 385.7 kB / 0.5105 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.149, allocations: 2.361 MB / 0.5128 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009167/0.1582, allocations: 8.236 MB / 0.5208 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/0.1621, allocations: 0.9794 MB / 0.5218 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.1624, allocations: 260.7 kB / 0.522 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.1639, allocations: 1.734 MB / 0.5237 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.164, allocations: 38.59 kB / 0.5238 GB, free: 6.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.164, allocations: 0 / 0.5238 GB, free: 6.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01173/0.1757, allocations: 2.939 MB / 0.5266 GB, free: 3.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1758, allocations: 63.91 kB / 0.5267 GB, free: 3.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.1772, allocations: 0.9068 MB / 0.5276 GB, free: 2.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1773, allocations: 37.7 kB / 0.5276 GB, free: 2.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/0.1778, allocations: 0.6564 MB / 0.5283 GB, free: 1.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.178, allocations: 213.1 kB / 0.5285 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.1783, allocations: 254.6 kB / 0.5287 GB, free: 1.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1785, allocations: 398.7 kB / 0.5291 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.1791, allocations: 370.4 kB / 0.5294 GB, free: 268 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2092/0.3883, allocations: 0.9948 MB / 0.5304 GB, free: 39.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3897, allocations: 1.492 MB / 0.5319 GB, free: 39.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.3898, allocations: 6.188 kB / 0.5319 GB, free: 39.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002004/0.3918, allocations: 1.397 MB / 0.5332 GB, free: 38.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.3918, allocations: 19.22 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.3918, allocations: 25.75 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.149e-05/0.3919, allocations: 30.03 kB / 0.5333 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.3931, allocations: 318.1 kB / 0.5336 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007846/0.3939, allocations: 1.462 MB / 0.535 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/0.3946, allocations: 54.69 kB / 0.5351 GB, free: 37.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.3947, allocations: 67.09 kB / 0.5352 GB, free: 37.4 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.0005951/0.3953, allocations: 0.4889 MB / 0.5356 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3954, allocations: 90.83 kB / 0.5357 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.3956, allocations: 122 kB / 0.5358 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3956, allocations: 5.625 kB / 0.5358 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3956, allocations: 1.812 kB / 0.5358 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3956, allocations: 2.719 kB / 0.5358 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.399, allocations: 2.168 MB / 0.538 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.399, allocations: 5.875 kB / 0.538 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.3996, allocations: 126.8 kB / 0.5381 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.3996, allocations: 7.781 kB / 0.5381 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.3996, allocations: 22.75 kB / 0.5381 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006257/0.4003, allocations: 1.428 MB / 0.5395 GB, free: 35.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4003, allocations: 6.5 kB / 0.5395 GB, free: 35.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.4012, allocations: 0.8422 MB / 0.5403 GB, free: 34.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.4015, allocations: 197.7 kB / 0.5405 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.4016, allocations: 20.41 kB / 0.5406 GB, free: 34.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.4019, allocations: 16.97 kB / 0.5406 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.402, allocations: 55.86 kB / 0.5406 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.4021, allocations: 29.39 kB / 0.5406 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007927/0.4029, allocations: 0.5972 MB / 0.5412 GB, free: 34.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4029, allocations: 1.062 kB / 0.5412 GB, free: 34.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001145/0.404, allocations: 218.1 kB / 0.5414 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.001092/0.4051, allocations: 1.39 MB / 0.5428 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4065, allocations: 0.8838 MB / 0.5437 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4066, allocations: 3.594 kB / 0.5437 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.407, allocations: 291 kB / 0.5439 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.0007646/0.4077, allocations: 118.4 kB / 0.5441 GB, free: 32.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.4203, allocations: 9.405 MB / 0.5532 GB, free: 26.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.4213, allocations: 1.226 MB / 0.5544 GB, free: 25.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009079/0.4222, allocations: 339.6 kB / 0.5548 GB, free: 25.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.4226, allocations: 406.1 kB / 0.5551 GB, free: 25.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.774e-06/0.4226, allocations: 0 / 0.5551 GB, free: 25.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.4573, allocations: 17.54 MB / 0.5723 GB, free: 13.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.49, allocations: 8 kB / 0.5723 GB, free: 13.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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