Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_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.0008615/0.000862, allocations: 95.2 kB / 17.35 MB, free: 6.344 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.001012/0.001012, allocations: 168.7 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1846/0.1846, allocations: 44.24 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8.625 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09524, allocations: 61.92 MB / 472.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01573/0.111, allocations: 17.42 MB / 489.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1216, allocations: 4.218 MB / 494 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.1245, allocations: 71.81 kB / 494.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.1251, allocations: 123.3 kB / 494.2 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009877/0.1261, allocations: 286.6 kB / 494.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.127, allocations: 291.5 kB / 494.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1284, allocations: 1.122 MB / 495.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.1302, allocations: 1.22 MB / 497.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.1307, allocations: 282.6 kB / 497.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.1318, allocations: 0.6075 MB / 498 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.1321, allocations: 60 kB / 498 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.1332, allocations: 0.5264 MB / 498.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007418/0.1339, allocations: 450.7 kB / 499 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.135, allocations: 0.5298 MB / 499.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.1371, allocations: 1.686 MB / 0.4895 GB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1371, allocations: 0 / 0.4895 GB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1371, allocations: 0 / 0.4895 GB, free: 280 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.087e-05/0.1372, allocations: 0 / 0.4895 GB, free: 280 kB / 366.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.002947/0.1401, allocations: 1.436 MB / 0.4909 GB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1402, allocations: 8.031 kB / 0.4909 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.1405, allocations: 178.5 kB / 0.4911 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/0.1412, allocations: 171.3 kB / 0.4912 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.1422, allocations: 0.6277 MB / 0.4918 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.1422, allocations: 66.09 kB / 0.4919 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.1424, allocations: 83.91 kB / 0.492 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/0.1471, allocations: 2.684 MB / 0.4946 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.1472, allocations: 7.938 kB / 0.4946 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.1473, allocations: 35.97 kB / 0.4946 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004435/0.1477, allocations: 385.7 kB / 0.495 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004854/0.1526, allocations: 2.369 MB / 0.4973 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/0.3467, allocations: 8.259 MB / 0.5054 GB, free: 48.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/0.3507, allocations: 0.9859 MB / 0.5063 GB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.3511, allocations: 260.8 kB / 0.5066 GB, free: 48.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.3523, allocations: 1.728 MB / 0.5083 GB, free: 47.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3524, allocations: 39.62 kB / 0.5083 GB, free: 47.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.3524, allocations: 0 / 0.5083 GB, free: 47.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01132/0.3637, allocations: 2.98 MB / 0.5112 GB, free: 47.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3638, allocations: 57.41 kB / 0.5113 GB, free: 47.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3649, allocations: 0.9025 MB / 0.5122 GB, free: 46.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3649, allocations: 35.3 kB / 0.5122 GB, free: 46.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.3653, allocations: 0.6615 MB / 0.5128 GB, free: 46.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.3654, allocations: 212.3 kB / 0.513 GB, free: 46.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3656, allocations: 118.4 kB / 0.5132 GB, free: 46.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3657, allocations: 404.6 kB / 0.5135 GB, free: 45.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.3662, allocations: 378.2 kB / 0.5139 GB, free: 45.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.3669, allocations: 0.9898 MB / 0.5149 GB, free: 44.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.3682, allocations: 1.497 MB / 0.5163 GB, free: 43.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.3683, allocations: 7.531 kB / 0.5163 GB, free: 43.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002038/0.3703, allocations: 1.39 MB / 0.5177 GB, free: 42.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.3704, allocations: 13.59 kB / 0.5177 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.3704, allocations: 22.62 kB / 0.5177 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/0.3704, allocations: 31.45 kB / 0.5178 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3716, allocations: 320 kB / 0.5181 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007152/0.3723, allocations: 1.358 MB / 0.5194 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.373, allocations: 62.48 kB / 0.5195 GB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.3731, allocations: 63.59 kB / 0.5195 GB, free: 41.55 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.0006473/0.3737, allocations: 0.4998 MB / 0.52 GB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.3738, allocations: 82.34 kB / 0.5201 GB, free: 41.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.374, allocations: 116 kB / 0.5202 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.374, allocations: 5.406 kB / 0.5202 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.3741, allocations: 9.125 kB / 0.5202 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3741, allocations: 6.562 kB / 0.5202 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.3772, allocations: 2.178 MB / 0.5223 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.3772, allocations: 10.61 kB / 0.5223 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.3777, allocations: 122.8 kB / 0.5225 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3777, allocations: 9.625 kB / 0.5225 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3777, allocations: 17.62 kB / 0.5225 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004875/0.3782, allocations: 1.33 MB / 0.5238 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3782, allocations: 10.81 kB / 0.5238 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.379, allocations: 0.831 MB / 0.5246 GB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3791, allocations: 173.8 kB / 0.5248 GB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.3792, allocations: 22.94 kB / 0.5248 GB, free: 37.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.3795, allocations: 23.94 kB / 0.5248 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.3796, allocations: 51.86 kB / 0.5249 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.3796, allocations: 22.25 kB / 0.5249 GB, free: 37.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.3803, allocations: 0.5948 MB / 0.5255 GB, free: 37.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3803, allocations: 0 / 0.5255 GB, free: 37.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009243/0.3812, allocations: 216.8 kB / 0.5257 GB, free: 37.62 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.0009593/0.3822, allocations: 1.407 MB / 0.5271 GB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3833, allocations: 0.8645 MB / 0.5279 GB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3833, allocations: 5.188 kB / 0.5279 GB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.3837, allocations: 284 kB / 0.5282 GB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.385, allocations: 121.5 kB / 0.5283 GB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008864/0.3939, allocations: 10.29 MB / 0.5383 GB, free: 26.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.3945, allocations: 1.227 MB / 0.5395 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007056/0.3952, allocations: 344.4 kB / 0.5399 GB, free: 25.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.3956, allocations: 411.2 kB / 0.5403 GB, free: 24.7 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3956, allocations: 0 / 0.5403 GB, free: 24.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.419, allocations: 16.27 MB / 0.5561 GB, free: 8.652 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.4191, allocations: 211.1 kB / 0.5563 GB, free: 8.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.388, allocations: 3.938 kB / 0.5563 GB, free: 8.387 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches