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.005217/0.005217, allocations: 100 kB / 15.87 MB, free: 6.309 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.001334/0.001334, allocations: 195.1 kB / 16.79 MB, free: 6.238 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.37/1.37, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.3181/0.3181, allocations: 43.5 MB / 313.5 MB, free: 8.602 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.001277/0.001277, allocations: 74.5 kB / 382.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 57.78 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.2105/0.3204, allocations: 18.11 MB / 458 MB, free: 37.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009037/0.3295, allocations: 4.244 MB / 462.3 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.3324, allocations: 67.75 kB / 462.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3345, allocations: 0.8815 MB / 463.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.3354, allocations: 285.6 kB / 463.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.3363, allocations: 293.4 kB / 463.8 MB, free: 36.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.3374, allocations: 1.13 MB / 464.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.3387, allocations: 0.816 MB / 465.7 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.3392, allocations: 336.9 kB / 466.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.3402, allocations: 0.6861 MB / 466.7 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.3404, allocations: 77.81 kB / 466.8 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3416, allocations: 0.5428 MB / 467.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.3421, allocations: 485.4 kB / 467.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.3426, allocations: 0.5431 MB / 468.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3439, allocations: 1.723 MB / 470.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.344, allocations: 0 / 470.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.344, allocations: 0 / 470.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.344, allocations: 7.938 kB / 470.1 MB, free: 34.97 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.002514/0.3465, allocations: 1.637 MB / 471.7 MB, free: 34.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3466, allocations: 9.219 kB / 471.8 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.3468, allocations: 185.1 kB / 471.9 MB, free: 33.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.3474, allocations: 160.1 kB / 472.1 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.3483, allocations: 0.6359 MB / 472.7 MB, free: 33.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.3484, allocations: 55.39 kB / 472.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.3486, allocations: 84.81 kB / 472.9 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.3526, allocations: 2.669 MB / 475.5 MB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.3527, allocations: 6.719 kB / 475.5 MB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.3528, allocations: 32.55 kB / 475.6 MB, free: 32.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/0.3531, allocations: 391.6 kB / 476 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.3573, allocations: 2.361 MB / 478.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006488/0.3638, allocations: 8.26 MB / 486.6 MB, free: 25.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.3671, allocations: 0.9791 MB / 487.6 MB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3675, allocations: 260.4 kB / 487.8 MB, free: 25.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.3686, allocations: 1.726 MB / 489.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3686, allocations: 44.81 kB / 489.6 MB, free: 23.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.906e-06/0.3686, allocations: 3.938 kB / 489.6 MB, free: 23.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01052/0.3792, allocations: 2.95 MB / 492.5 MB, free: 23.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3792, allocations: 62.77 kB / 492.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3803, allocations: 0.9142 MB / 493.5 MB, free: 22.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3803, allocations: 32.39 kB / 493.5 MB, free: 22.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.3807, allocations: 0.659 MB / 494.2 MB, free: 22.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3808, allocations: 210.4 kB / 494.4 MB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.3811, allocations: 250.2 kB / 494.6 MB, free: 21.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3812, allocations: 399.2 kB / 495 MB, free: 21.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.3817, allocations: 372.3 kB / 495.4 MB, free: 21.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.3824, allocations: 0.9969 MB / 496.4 MB, free: 20.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3837, allocations: 1.497 MB / 497.9 MB, free: 19.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3837, allocations: 7.844 kB / 497.9 MB, free: 19.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001822/0.3855, allocations: 1.389 MB / 499.3 MB, free: 18.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3856, allocations: 18.25 kB / 499.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.3856, allocations: 25.94 kB / 499.3 MB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-05/0.3856, allocations: 30.25 kB / 499.4 MB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.3867, allocations: 321.1 kB / 499.7 MB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000666/0.3874, allocations: 1.354 MB / 0.4893 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.388, allocations: 63.02 kB / 0.4894 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.3881, allocations: 63.91 kB / 0.4894 GB, free: 17.27 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.000584/0.3887, allocations: 0.5018 MB / 0.4899 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3888, allocations: 86.88 kB / 0.49 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.389, allocations: 120 kB / 0.4901 GB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.389, allocations: 6.938 kB / 0.4901 GB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.389, allocations: 4 kB / 0.4901 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.389, allocations: 3.141 kB / 0.4901 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.3922, allocations: 2.168 MB / 0.4922 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3922, allocations: 5.719 kB / 0.4922 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.3927, allocations: 133 kB / 0.4924 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.3927, allocations: 12.06 kB / 0.4924 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.3927, allocations: 11.5 kB / 0.4924 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.3933, allocations: 1.333 MB / 0.4937 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.3933, allocations: 11.27 kB / 0.4937 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.3941, allocations: 0.8282 MB / 0.4945 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.3944, allocations: 201.5 kB / 0.4947 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.3945, allocations: 19.75 kB / 0.4947 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3948, allocations: 19.08 kB / 0.4947 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.3949, allocations: 54.11 kB / 0.4948 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3949, allocations: 26.25 kB / 0.4948 GB, free: 13.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.3956, allocations: 0.5967 MB / 0.4954 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3957, allocations: 0 / 0.4954 GB, free: 13.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.3967, allocations: 220.8 kB / 0.4956 GB, free: 13.32 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.001014/0.3977, allocations: 1.404 MB / 0.497 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3992, allocations: 0.8639 MB / 0.4978 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3992, allocations: 1.406 kB / 0.4978 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.3996, allocations: 285.6 kB / 0.4981 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.4004, allocations: 120.1 kB / 0.4982 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.4132, allocations: 10.27 MB / 0.5082 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.414, allocations: 1.222 MB / 0.5094 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008848/0.4149, allocations: 344.8 kB / 0.5098 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.4154, allocations: 405.5 kB / 0.5101 GB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4154, allocations: 0 / 0.5101 GB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.4427, allocations: 16.5 MB / 0.5263 GB, free: 4.605 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.4429, allocations: 216.9 kB / 0.5265 GB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.464, allocations: 0 / 0.5265 GB, free: 4.336 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