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.001152/0.001151, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.00119/0.00119, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2105/0.2105, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001876/0.001876, allocations: 66.61 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 57.78 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.007151/0.1257, allocations: 7.641 MB / 448.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.1308, allocations: 2.54 MB / 450.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008476/0.1317, allocations: 31.94 kB / 450.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1336, allocations: 0.8837 MB / 451.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000742/0.1344, allocations: 310.3 kB / 452 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.1351, allocations: 331.2 kB / 452.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.136, allocations: 0.7398 MB / 453.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009924/0.137, allocations: 0.8295 MB / 453.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.1375, allocations: 366.6 kB / 454.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.1384, allocations: 0.6621 MB / 454.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.1386, allocations: 104 kB / 455 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007675/0.1394, allocations: 0.5148 MB / 455.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.1398, allocations: 498.8 kB / 456 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.1403, allocations: 0.571 MB / 456.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1418, allocations: 1.741 MB / 458.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1418, allocations: 0 / 458.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1418, allocations: 0 / 458.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1418, allocations: 4 kB / 458.3 MB, free: 4.98 MB / 334.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.002927/0.1447, allocations: 1.63 MB / 460 MB, free: 3.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1448, allocations: 11.89 kB / 460 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.145, allocations: 186.5 kB / 460.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.1456, allocations: 171.2 kB / 460.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.1465, allocations: 0.6239 MB / 461 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.1466, allocations: 62.09 kB / 461 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.1468, allocations: 79.88 kB / 461.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.1516, allocations: 2.677 MB / 463.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.1517, allocations: 7.938 kB / 463.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.1518, allocations: 31.97 kB / 463.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004637/0.1523, allocations: 385.7 kB / 464.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.1575, allocations: 2.361 MB / 466.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008775/0.1663, allocations: 8.278 MB / 474.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.17, allocations: 0.9742 MB / 475.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.1704, allocations: 264.7 kB / 476.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.172, allocations: 1.726 MB / 477.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.172, allocations: 46.5 kB / 477.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 4.218e-06/0.1721, allocations: 96 / 477.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.01101/0.1831, allocations: 2.951 MB / 480.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1832, allocations: 63.97 kB / 480.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1842, allocations: 0.8991 MB / 481.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1843, allocations: 41.64 kB / 481.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.1846, allocations: 0.6603 MB / 482.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.1848, allocations: 205.2 kB / 482.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.1851, allocations: 246.6 kB / 482.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1852, allocations: 402.7 kB / 483.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.1858, allocations: 370.4 kB / 483.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.1866, allocations: 0.9953 MB / 484.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.1882, allocations: 1.499 MB / 486.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.1882, allocations: 8 kB / 486.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001965/0.1902, allocations: 1.393 MB / 487.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.1902, allocations: 19.94 kB / 487.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.1902, allocations: 20 kB / 487.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.1903, allocations: 32 kB / 487.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.1915, allocations: 319.9 kB / 487.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.1927, allocations: 1.455 MB / 489.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.1934, allocations: 51.91 kB / 489.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.1935, allocations: 67.94 kB / 489.5 MB, free: 4.195 MB / 366.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.0007733/0.1943, allocations: 0.5137 MB / 490 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1945, allocations: 86.88 kB / 490.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1947, allocations: 112.7 kB / 490.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1947, allocations: 8 kB / 490.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1947, allocations: 0 / 490.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1947, allocations: 3.984 kB / 490.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.1982, allocations: 2.172 MB / 492.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.1982, allocations: 7.984 kB / 492.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.1987, allocations: 127.8 kB / 492.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.1987, allocations: 8 kB / 492.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.1987, allocations: 20 kB / 492.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/0.1996, allocations: 1.416 MB / 494 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1996, allocations: 12.09 kB / 494 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.2006, allocations: 0.8376 MB / 494.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.2008, allocations: 199.9 kB / 495 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.201, allocations: 23.94 kB / 495 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.2013, allocations: 16 kB / 495 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.2014, allocations: 55.81 kB / 495.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.2015, allocations: 24 kB / 495.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007443/0.2022, allocations: 0.5927 MB / 495.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2022, allocations: 3.938 kB / 495.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.2033, allocations: 220 kB / 495.9 MB, free: 13.35 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.001464/0.2048, allocations: 1.408 MB / 497.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2063, allocations: 0.9409 MB / 498.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2063, allocations: 0 / 498.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.2067, allocations: 289.7 kB / 498.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.2075, allocations: 122.9 kB / 498.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.2202, allocations: 9.822 MB / 0.4966 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.2212, allocations: 1.227 MB / 0.4978 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00087/0.2221, allocations: 339.6 kB / 0.4981 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.2227, allocations: 407.3 kB / 0.4985 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2227, allocations: 0 / 0.4985 GB, free: 13.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.2601, allocations: 16.95 MB / 0.5151 GB, free: 12.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.285, allocations: 15.48 kB / 0.5151 GB, free: 12.77 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches