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.0009084/0.0009084, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 185.5 kB / 16.92 MB, free: 6.914 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.378/1.378, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3341/0.3341, allocations: 43.58 MB / 315 MB, free: 8.758 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.000483/0.000483, allocations: 12 kB / 384.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 58.87 MB / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.2323/0.3389, allocations: 17.43 MB / 461 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.349, allocations: 4.203 MB / 465.2 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.3518, allocations: 66.31 kB / 465.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.3524, allocations: 138 kB / 465.4 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007779/0.3532, allocations: 286.9 kB / 465.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.354, allocations: 300.2 kB / 466 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.3549, allocations: 1.129 MB / 467.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.3562, allocations: 1.215 MB / 468.3 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.3565, allocations: 285.7 kB / 468.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/0.3572, allocations: 0.6128 MB / 469.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.3573, allocations: 57.53 kB / 469.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.358, allocations: 0.5193 MB / 469.8 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.3583, allocations: 454 kB / 470.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.3587, allocations: 0.5425 MB / 470.7 MB, free: 34.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.3598, allocations: 1.675 MB / 472.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3598, allocations: 1.781 kB / 472.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3598, allocations: 0 / 472.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3599, allocations: 0 / 472.4 MB, free: 34.72 MB / 382.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.002296/0.3622, allocations: 1.441 MB / 473.9 MB, free: 33.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3622, allocations: 9.562 kB / 473.9 MB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.3624, allocations: 182.5 kB / 474.1 MB, free: 33.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.363, allocations: 168 kB / 474.2 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.3638, allocations: 0.6301 MB / 474.8 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.3638, allocations: 59.98 kB / 474.9 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.364, allocations: 84.36 kB / 475 MB, free: 33.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/0.3681, allocations: 2.69 MB / 477.7 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.3682, allocations: 7.125 kB / 477.7 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.3683, allocations: 32.72 kB / 477.7 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/0.3686, allocations: 386.5 kB / 478.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/0.373, allocations: 2.382 MB / 480.5 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.3791, allocations: 8.264 MB / 488.7 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.3827, allocations: 0.9889 MB / 489.7 MB, free: 26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.3831, allocations: 265.5 kB / 490 MB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.3844, allocations: 1.726 MB / 491.7 MB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3844, allocations: 33.53 kB / 491.7 MB, free: 24.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.3844, allocations: 3.938 kB / 491.8 MB, free: 24.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01149/0.3959, allocations: 2.976 MB / 494.7 MB, free: 23.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.396, allocations: 58.56 kB / 494.8 MB, free: 23.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.3972, allocations: 0.9077 MB / 495.7 MB, free: 23.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3972, allocations: 35.58 kB / 495.7 MB, free: 23.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.3976, allocations: 0.6676 MB / 496.4 MB, free: 22.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.3978, allocations: 210.8 kB / 496.6 MB, free: 22.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3979, allocations: 119.5 kB / 496.7 MB, free: 22.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3981, allocations: 399.3 kB / 497.1 MB, free: 22.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3986, allocations: 371.5 kB / 497.5 MB, free: 21.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.3995, allocations: 0.9937 MB / 498.5 MB, free: 20.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4012, allocations: 1.494 MB / 500 MB, free: 19.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.4012, allocations: 5.781 kB / 500 MB, free: 19.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002095/0.4033, allocations: 1.391 MB / 0.4896 GB, free: 19.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.4033, allocations: 23.09 kB / 0.4896 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4034, allocations: 22 kB / 0.4896 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/0.4034, allocations: 30.25 kB / 0.4897 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4046, allocations: 319.5 kB / 0.49 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007691/0.4053, allocations: 1.36 MB / 0.4913 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.4062, allocations: 57.38 kB / 0.4914 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.4063, allocations: 67.62 kB / 0.4914 GB, free: 17.73 MB / 382.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.0009304/0.4072, allocations: 0.5011 MB / 0.4919 GB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.4074, allocations: 87.47 kB / 0.492 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.4077, allocations: 115.9 kB / 0.4921 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4077, allocations: 5.375 kB / 0.4921 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4077, allocations: 0 / 0.4921 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4077, allocations: 4.656 kB / 0.4921 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.4117, allocations: 2.184 MB / 0.4943 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4118, allocations: 5.75 kB / 0.4943 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.4123, allocations: 128.7 kB / 0.4944 GB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.4123, allocations: 8.344 kB / 0.4944 GB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.4123, allocations: 16.94 kB / 0.4944 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/0.4129, allocations: 1.326 MB / 0.4957 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.413, allocations: 10.28 kB / 0.4957 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009099/0.4139, allocations: 0.8281 MB / 0.4965 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.4142, allocations: 208.8 kB / 0.4967 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.4143, allocations: 16.17 kB / 0.4967 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.4146, allocations: 20.81 kB / 0.4968 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.4147, allocations: 54.25 kB / 0.4968 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.4147, allocations: 30.41 kB / 0.4968 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009436/0.4157, allocations: 0.5964 MB / 0.4974 GB, free: 13.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4157, allocations: 4 kB / 0.4974 GB, free: 13.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4171, allocations: 217.5 kB / 0.4976 GB, free: 13.78 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.00136/0.4184, allocations: 1.402 MB / 0.499 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4204, allocations: 0.8622 MB / 0.4998 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4204, allocations: 2.062 kB / 0.4998 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.4209, allocations: 278.4 kB / 0.5001 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.4223, allocations: 125.2 kB / 0.5002 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.435, allocations: 10.3 MB / 0.5103 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.4358, allocations: 1.222 MB / 0.5115 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008423/0.4366, allocations: 343.1 kB / 0.5118 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.4371, allocations: 408.1 kB / 0.5122 GB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4371, allocations: 0 / 0.5122 GB, free: 3.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06968/0.5068, allocations: 16.28 MB / 0.5281 GB, free: 4.828 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.507, allocations: 212.3 kB / 0.5283 GB, free: 4.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.639, allocations: 0 / 0.5283 GB, free: 4.562 MB / 398.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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches