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.001669/0.001677, allocations: 104.5 kB / 17.63 MB, free: 5.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.001836/0.001836, allocations: 192 kB / 18.56 MB, free: 4.434 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.75 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1155, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008749/0.1243, allocations: 7.624 MB / 477 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.13, allocations: 2.531 MB / 479.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.1312, allocations: 31.94 kB / 479.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.133, allocations: 0.8954 MB / 480.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.1338, allocations: 306.3 kB / 480.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.1347, allocations: 327.3 kB / 481.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1357, allocations: 0.7359 MB / 481.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009581/0.1367, allocations: 0.8259 MB / 482.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.1372, allocations: 366.6 kB / 483 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000873/0.1381, allocations: 0.6544 MB / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1382, allocations: 104 kB / 483.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.1391, allocations: 0.5187 MB / 484.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.1395, allocations: 498.7 kB / 484.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.14, allocations: 0.5748 MB / 485.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.1415, allocations: 1.737 MB / 487 MB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1415, allocations: 3.938 kB / 487 MB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1415, allocations: 4 kB / 487.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.1415, allocations: 0 / 487.1 MB, free: 12.5 MB / 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.003298/0.1449, allocations: 1.637 MB / 488.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1449, allocations: 8.031 kB / 488.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.1451, allocations: 182.5 kB / 488.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.1458, allocations: 163.3 kB / 489 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.1467, allocations: 0.6317 MB / 489.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.1467, allocations: 62.09 kB / 489.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1469, allocations: 79.97 kB / 489.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.1522, allocations: 2.669 MB / 492.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.1522, allocations: 11.88 kB / 492.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.1524, allocations: 39.97 kB / 492.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004635/0.1528, allocations: 381.8 kB / 492.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005282/0.1581, allocations: 2.357 MB / 495.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008924/0.1671, allocations: 8.263 MB / 0.4917 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.171, allocations: 0.9813 MB / 0.4927 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.1714, allocations: 264.7 kB / 0.4929 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.1729, allocations: 1.726 MB / 0.4946 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1729, allocations: 38.5 kB / 0.4947 GB, free: 8.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.1729, allocations: 0 / 0.4947 GB, free: 8.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01156/0.1845, allocations: 2.944 MB / 0.4975 GB, free: 5.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1846, allocations: 55.97 kB / 0.4976 GB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1856, allocations: 0.9106 MB / 0.4985 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1857, allocations: 37.7 kB / 0.4985 GB, free: 4.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.1861, allocations: 0.6526 MB / 0.4991 GB, free: 3.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1863, allocations: 221 kB / 0.4994 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.1866, allocations: 250.5 kB / 0.4996 GB, free: 3.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1867, allocations: 398.7 kB / 0.5 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.1872, allocations: 378.4 kB / 0.5003 GB, free: 2.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.1882, allocations: 0.9914 MB / 0.5013 GB, free: 1.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2061/0.3942, allocations: 1.491 MB / 0.5028 GB, free: 48.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/0.3943, allocations: 9.938 kB / 0.5028 GB, free: 48.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002644/0.3969, allocations: 1.393 MB / 0.5041 GB, free: 48.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.397, allocations: 18.72 kB / 0.5041 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.397, allocations: 22.12 kB / 0.5042 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.108e-05/0.3971, allocations: 29.19 kB / 0.5042 GB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3984, allocations: 323.3 kB / 0.5045 GB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.3992, allocations: 1.451 MB / 0.5059 GB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.4001, allocations: 54.38 kB / 0.506 GB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/0.4002, allocations: 71.91 kB / 0.506 GB, free: 47.21 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.0007404/0.4009, allocations: 0.4941 MB / 0.5065 GB, free: 47.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4011, allocations: 88.56 kB / 0.5066 GB, free: 47.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.4013, allocations: 115.3 kB / 0.5067 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4013, allocations: 5.812 kB / 0.5067 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4013, allocations: 1.25 kB / 0.5067 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4013, allocations: 7.047 kB / 0.5067 GB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.4049, allocations: 2.171 MB / 0.5089 GB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.405, allocations: 5.828 kB / 0.5089 GB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.4055, allocations: 126 kB / 0.509 GB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.4055, allocations: 8.031 kB / 0.509 GB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4056, allocations: 18.77 kB / 0.509 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/0.4062, allocations: 1.425 MB / 0.5104 GB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4062, allocations: 11.44 kB / 0.5104 GB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.407, allocations: 0.8268 MB / 0.5112 GB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4072, allocations: 167.8 kB / 0.5114 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.4073, allocations: 18.47 kB / 0.5114 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.4077, allocations: 22.59 kB / 0.5114 GB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.4077, allocations: 49.77 kB / 0.5115 GB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4078, allocations: 21.31 kB / 0.5115 GB, free: 43.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007363/0.4085, allocations: 0.6003 MB / 0.5121 GB, free: 43.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.4085, allocations: 4 kB / 0.5121 GB, free: 43.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.4096, allocations: 220.7 kB / 0.5123 GB, free: 43.5 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.001017/0.4106, allocations: 1.385 MB / 0.5136 GB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.4122, allocations: 0.9479 MB / 0.5146 GB, free: 42.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4122, allocations: 2.188 kB / 0.5146 GB, free: 42.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.4127, allocations: 282.1 kB / 0.5148 GB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.4136, allocations: 132.2 kB / 0.515 GB, free: 41.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.4253, allocations: 9.839 MB / 0.5246 GB, free: 35.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.4262, allocations: 1.221 MB / 0.5258 GB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008261/0.4271, allocations: 339.9 kB / 0.5261 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.4275, allocations: 409.9 kB / 0.5265 GB, free: 34.29 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4275, allocations: 0 / 0.5265 GB, free: 34.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.4636, allocations: 16.95 MB / 0.543 GB, free: 19.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.298, allocations: 4.781 kB / 0.543 GB, free: 19.78 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