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.001858/0.001858, allocations: 109.6 kB / 16.41 MB, free: 6.496 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.00194/0.00194, allocations: 185.5 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.539/1.539, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2212/0.2212, allocations: 43.52 MB / 314.1 MB, free: 456 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.002048/0.002048, allocations: 73.45 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, 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.009397/0.1188, allocations: 7.621 MB / 0.4949 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.1243, allocations: 2.543 MB / 0.4973 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1254, allocations: 35.94 kB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.1275, allocations: 0.8837 MB / 0.4982 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.1285, allocations: 318.2 kB / 0.4985 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.1294, allocations: 323.2 kB / 0.4989 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1304, allocations: 0.7475 MB / 0.4996 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.1315, allocations: 0.8217 MB / 0.5004 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.132, allocations: 378.5 kB / 0.5007 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009248/0.133, allocations: 0.6505 MB / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1332, allocations: 107.9 kB / 0.5015 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009372/0.1341, allocations: 0.5187 MB / 0.502 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006259/0.1347, allocations: 0.4948 MB / 0.5025 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007915/0.1355, allocations: 0.5671 MB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.138, allocations: 1.794 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1381, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1381, allocations: 0 / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.302e-05/0.1381, allocations: 0 / 0.5048 GB, free: 10.41 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.003842/0.142, allocations: 1.66 MB / 0.5064 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.142, allocations: 11.89 kB / 0.5064 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/0.1423, allocations: 186.5 kB / 0.5066 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.143, allocations: 172 kB / 0.5068 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1441, allocations: 0.6399 MB / 0.5074 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.1442, allocations: 66.09 kB / 0.5074 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.1444, allocations: 83.86 kB / 0.5075 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005473/0.1499, allocations: 2.669 MB / 0.5101 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.15, allocations: 7.938 kB / 0.5101 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.1501, allocations: 31.97 kB / 0.5102 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005303/0.1506, allocations: 389.7 kB / 0.5105 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005511/0.1561, allocations: 2.361 MB / 0.5128 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.1665, allocations: 8.249 MB / 0.5209 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.1705, allocations: 0.9795 MB / 0.5219 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.1709, allocations: 260.7 kB / 0.5221 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/0.1731, allocations: 1.726 MB / 0.5238 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.1731, allocations: 38.56 kB / 0.5238 GB, free: 6.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.1731, allocations: 0 / 0.5238 GB, free: 6.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01182/0.185, allocations: 2.976 MB / 0.5267 GB, free: 3.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1851, allocations: 59.97 kB / 0.5268 GB, free: 3.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.1865, allocations: 0.8954 MB / 0.5277 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.1866, allocations: 41.69 kB / 0.5277 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.1872, allocations: 0.6783 MB / 0.5284 GB, free: 1.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.1874, allocations: 230.1 kB / 0.5286 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.1877, allocations: 250.8 kB / 0.5288 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.188, allocations: 398.7 kB / 0.5292 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.1886, allocations: 370.4 kB / 0.5296 GB, free: 164 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1987/0.3873, allocations: 0.9915 MB / 0.5305 GB, free: 39.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3885, allocations: 1.497 MB / 0.532 GB, free: 39.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.3886, allocations: 13.75 kB / 0.532 GB, free: 39.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001824/0.3904, allocations: 1.396 MB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3904, allocations: 18.97 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.3905, allocations: 22.03 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.3905, allocations: 33.58 kB / 0.5334 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3916, allocations: 323.2 kB / 0.5337 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007085/0.3924, allocations: 1.454 MB / 0.5352 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.393, allocations: 50.05 kB / 0.5352 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.3931, allocations: 66.59 kB / 0.5353 GB, free: 37.43 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.0006041/0.3937, allocations: 0.4951 MB / 0.5358 GB, free: 37.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3938, allocations: 97.05 kB / 0.5359 GB, free: 37.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.394, allocations: 115.7 kB / 0.536 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3941, allocations: 11 kB / 0.536 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3941, allocations: 0 / 0.536 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3941, allocations: 2.484 kB / 0.536 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.3972, allocations: 2.177 MB / 0.5381 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3972, allocations: 6.156 kB / 0.5381 GB, free: 36.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.3977, allocations: 129.1 kB / 0.5382 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.3978, allocations: 8.625 kB / 0.5382 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.3978, allocations: 15.12 kB / 0.5383 GB, free: 36.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005803/0.3984, allocations: 1.431 MB / 0.5397 GB, free: 35.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3984, allocations: 11.09 kB / 0.5397 GB, free: 35.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.3992, allocations: 0.8344 MB / 0.5405 GB, free: 34.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.3994, allocations: 208.1 kB / 0.5407 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.3995, allocations: 19.81 kB / 0.5407 GB, free: 34.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.3999, allocations: 21.89 kB / 0.5407 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.4, allocations: 50.02 kB / 0.5408 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.4, allocations: 25.31 kB / 0.5408 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007112/0.4007, allocations: 0.601 MB / 0.5414 GB, free: 34.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4007, allocations: 4 kB / 0.5414 GB, free: 34.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4018, allocations: 218 kB / 0.5416 GB, free: 34.21 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.001013/0.4028, allocations: 1.396 MB / 0.543 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.4042, allocations: 0.8819 MB / 0.5438 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4042, allocations: 0 / 0.5438 GB, free: 32.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.4047, allocations: 288.7 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.0008684/0.4056, allocations: 124.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.01343/0.419, allocations: 9.433 MB / 0.5534 GB, free: 26.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/0.4199, allocations: 1.223 MB / 0.5546 GB, free: 25.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009363/0.4209, allocations: 344.8 kB / 0.5549 GB, free: 25.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.4214, allocations: 406.6 kB / 0.5553 GB, free: 25.53 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4214, allocations: 0 / 0.5553 GB, free: 25.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.4609, allocations: 17.32 MB / 0.5722 GB, free: 13.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.39, allocations: 7.531 kB / 0.5722 GB, free: 13.86 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