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.001343/0.001343, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001426/0.001426, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.558/1.558, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.3637/0.3637, allocations: 43.5 MB / 313.6 MB, free: 8.578 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.001594/0.001594, allocations: 62.56 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1316, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.2452/0.3768, allocations: 18.1 MB / 458.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007972/0.3848, allocations: 4.212 MB / 462.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3868, allocations: 66.56 kB / 462.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.3885, allocations: 0.8457 MB / 463.3 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.3893, allocations: 291.1 kB / 463.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.39, allocations: 295.4 kB / 463.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009172/0.391, allocations: 0.7501 MB / 464.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.3922, allocations: 0.864 MB / 465.5 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.3929, allocations: 374.8 kB / 465.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3941, allocations: 0.7019 MB / 466.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3944, allocations: 105.9 kB / 466.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3955, allocations: 0.5272 MB / 467.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.3961, allocations: 0.4925 MB / 467.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.3968, allocations: 0.5815 MB / 468.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.3989, allocations: 1.751 MB / 470 MB, free: 34.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3989, allocations: 5.344 kB / 470 MB, free: 34.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3989, allocations: 0 / 470 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.3989, allocations: 0 / 470 MB, free: 34.89 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.003097/0.402, allocations: 1.646 MB / 471.7 MB, free: 33.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4021, allocations: 13.36 kB / 471.7 MB, free: 33.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.4023, allocations: 181.6 kB / 471.9 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.4031, allocations: 160.8 kB / 472 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.4039, allocations: 0.6334 MB / 472.7 MB, free: 33.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.4039, allocations: 58.45 kB / 472.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.4041, allocations: 82.14 kB / 472.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.4082, allocations: 2.666 MB / 475.5 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.4083, allocations: 7 kB / 475.5 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-05/0.4084, allocations: 45.16 kB / 475.5 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004274/0.4088, allocations: 380.7 kB / 475.9 MB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.4131, allocations: 2.36 MB / 478.3 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006422/0.4195, allocations: 8.275 MB / 486.5 MB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.423, allocations: 0.9795 MB / 487.5 MB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.4234, allocations: 259.6 kB / 487.8 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.4247, allocations: 1.729 MB / 489.5 MB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.4247, allocations: 40.94 kB / 489.5 MB, free: 23.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.4247, allocations: 0 / 489.5 MB, free: 23.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01148/0.4362, allocations: 2.943 MB / 492.5 MB, free: 23.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4363, allocations: 57.66 kB / 492.5 MB, free: 23.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.4377, allocations: 0.9161 MB / 493.4 MB, free: 22.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.4378, allocations: 34.89 kB / 493.5 MB, free: 22.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.4382, allocations: 0.6559 MB / 494.1 MB, free: 22.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.4384, allocations: 211.9 kB / 494.3 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.4388, allocations: 254.1 kB / 494.6 MB, free: 21.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4389, allocations: 399.8 kB / 495 MB, free: 21.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.4395, allocations: 370.8 kB / 495.3 MB, free: 21.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.4404, allocations: 0.998 MB / 496.3 MB, free: 20.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.442, allocations: 1.494 MB / 497.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.442, allocations: 7.281 kB / 497.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002137/0.4441, allocations: 1.39 MB / 499.2 MB, free: 18.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.4442, allocations: 17.81 kB / 499.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.4442, allocations: 22.78 kB / 499.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-05/0.4443, allocations: 30.25 kB / 499.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4455, allocations: 325.3 kB / 499.6 MB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007805/0.4463, allocations: 1.449 MB / 0.4893 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.4471, allocations: 54.41 kB / 0.4894 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.4471, allocations: 64.94 kB / 0.4894 GB, free: 17.08 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.0007832/0.4479, allocations: 0.5117 MB / 0.4899 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4481, allocations: 87.31 kB / 0.49 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.4483, allocations: 115.9 kB / 0.4901 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.4483, allocations: 5.375 kB / 0.4901 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.4483, allocations: 1.5 kB / 0.4901 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4483, allocations: 3.656 kB / 0.4901 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.4517, allocations: 2.185 MB / 0.4923 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4517, allocations: 3.562 kB / 0.4923 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.4522, allocations: 126 kB / 0.4924 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.4522, allocations: 9.469 kB / 0.4924 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4523, allocations: 17.5 kB / 0.4924 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006244/0.4529, allocations: 1.43 MB / 0.4938 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.4529, allocations: 10.75 kB / 0.4938 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.4538, allocations: 0.827 MB / 0.4946 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.4541, allocations: 198.7 kB / 0.4948 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.4542, allocations: 19.42 kB / 0.4948 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.4546, allocations: 22.12 kB / 0.4949 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.4546, allocations: 54.2 kB / 0.4949 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.4547, allocations: 20.84 kB / 0.4949 GB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.4555, allocations: 0.5972 MB / 0.4955 GB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4555, allocations: 0 / 0.4955 GB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001257/0.4568, allocations: 217.5 kB / 0.4957 GB, free: 13.03 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.001125/0.4579, allocations: 1.41 MB / 0.4971 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.4597, allocations: 0.9425 MB / 0.498 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.4597, allocations: 3.188 kB / 0.498 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.4601, allocations: 283.7 kB / 0.4983 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.461, allocations: 124.1 kB / 0.4984 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.4746, allocations: 10.27 MB / 0.5085 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/0.4756, allocations: 1.219 MB / 0.5096 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008973/0.4765, allocations: 347.9 kB / 0.51 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.477, allocations: 404.2 kB / 0.5104 GB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.477, allocations: 0 / 0.5104 GB, free: 3.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.5113, allocations: 16.85 MB / 0.5268 GB, free: 4.113 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.5115, allocations: 213 kB / 0.527 GB, free: 3.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.671, allocations: 0 / 0.527 GB, free: 3.852 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