Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8794/0.8794, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.307e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.1802/0.1802, allocations: 6.733 MB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1835, allocations: 2.453 MB / 451.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005463/0.1841, allocations: 38.88 kB / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.1851, allocations: 0.9189 MB / 452.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1856, allocations: 325.3 kB / 452.6 MB, free: 38.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1861, allocations: 356 kB / 453 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.1865, allocations: 0.7363 MB / 453.7 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.187, allocations: 0.6559 MB / 454.4 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.1874, allocations: 0.509 MB / 454.9 MB, free: 37.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.188, allocations: 0.6203 MB / 455.5 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.772e-05/0.1881, allocations: 105.5 kB / 455.6 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.1886, allocations: 0.5208 MB / 456.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.1888, allocations: 0.5174 MB / 456.6 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.189, allocations: 354.6 kB / 457 MB, free: 36.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1901, allocations: 1.84 MB / 458.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1901, allocations: 0 / 458.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1901, allocations: 0 / 458.8 MB, free: 36.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1901, allocations: 0 / 458.8 MB, free: 36.3 MB / 410.7 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.001735/0.1918, allocations: 1.577 MB / 460.4 MB, free: 35.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1919, allocations: 11.31 kB / 460.4 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.192, allocations: 183.6 kB / 460.6 MB, free: 35.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.1925, allocations: 188.2 kB / 460.8 MB, free: 35.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.1933, allocations: 0.5782 MB / 461.3 MB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.1933, allocations: 61.19 kB / 461.4 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.1935, allocations: 85.02 kB / 461.5 MB, free: 34.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.1963, allocations: 2.678 MB / 464.2 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.1964, allocations: 7.031 kB / 464.2 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.1964, allocations: 38 kB / 464.2 MB, free: 33.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003395/0.1968, allocations: 380.4 kB / 464.6 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.1998, allocations: 2.35 MB / 466.9 MB, free: 32.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.2047, allocations: 7.9 MB / 474.8 MB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.2065, allocations: 0.9823 MB / 475.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2067, allocations: 236.9 kB / 476 MB, free: 27.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.2073, allocations: 0.622 MB / 476.7 MB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2073, allocations: 42.14 kB / 476.7 MB, free: 26.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.2073, allocations: 0 / 476.7 MB, free: 26.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.005921/0.2133, allocations: 3.139 MB / 479.9 MB, free: 26.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2133, allocations: 61.38 kB / 479.9 MB, free: 26.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.2141, allocations: 0.9399 MB / 480.9 MB, free: 25.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2141, allocations: 36.3 kB / 480.9 MB, free: 25.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.2143, allocations: 0.6716 MB / 481.6 MB, free: 25.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.2144, allocations: 220.9 kB / 481.8 MB, free: 24.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.2146, allocations: 241.5 kB / 482 MB, free: 24.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.2147, allocations: 401.8 kB / 482.4 MB, free: 24.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.215, allocations: 370.8 kB / 482.8 MB, free: 24.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.2156, allocations: 0.9973 MB / 483.8 MB, free: 23.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.2165, allocations: 1.489 MB / 485.2 MB, free: 22.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.2165, allocations: 6.719 kB / 485.3 MB, free: 22.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001302/0.2178, allocations: 1.403 MB / 486.7 MB, free: 21.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.2179, allocations: 18.75 kB / 486.7 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.2179, allocations: 31.58 kB / 486.7 MB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.2179, allocations: 30.34 kB / 486.7 MB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.2186, allocations: 322.5 kB / 487.1 MB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005915/0.2192, allocations: 1.344 MB / 488.4 MB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.2197, allocations: 54.11 kB / 488.4 MB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.2197, allocations: 64.56 kB / 488.5 MB, free: 20.17 MB / 410.7 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.0005033/0.2202, allocations: 0.4976 MB / 489 MB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.2203, allocations: 93.22 kB / 489.1 MB, free: 19.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.2204, allocations: 114.8 kB / 489.2 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2204, allocations: 9.219 kB / 489.2 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2204, allocations: 0.9688 kB / 489.2 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2204, allocations: 3.562 kB / 489.2 MB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2228, allocations: 2.067 MB / 491.3 MB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.2228, allocations: 7.062 kB / 491.3 MB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2231, allocations: 132 kB / 491.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.2232, allocations: 7.812 kB / 491.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.2232, allocations: 18.56 kB / 491.5 MB, free: 18.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004872/0.2237, allocations: 1.32 MB / 492.8 MB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2237, allocations: 10.31 kB / 492.8 MB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.2244, allocations: 0.8208 MB / 493.6 MB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.2245, allocations: 90.19 kB / 493.7 MB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.2245, allocations: 19.59 kB / 493.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2247, allocations: 21.05 kB / 493.7 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.2248, allocations: 62.94 kB / 493.8 MB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.2248, allocations: 21.88 kB / 493.8 MB, free: 16.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006137/0.2254, allocations: 0.5942 MB / 494.4 MB, free: 16.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2254, allocations: 0 / 494.4 MB, free: 16.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.2262, allocations: 209.8 kB / 494.6 MB, free: 16.43 MB / 410.7 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.0007901/0.227, allocations: 1.387 MB / 496 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2283, allocations: 0.8391 MB / 496.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2283, allocations: 1.531 kB / 496.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.2286, allocations: 269.9 kB / 497.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2292, allocations: 134.5 kB / 497.2 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.2392, allocations: 9.383 MB / 0.4947 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.2399, allocations: 0.6184 MB / 0.4954 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007087/0.2406, allocations: 338.8 kB / 0.4957 GB, free: 8.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.241, allocations: 407 kB / 0.4961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.241, allocations: 1.281 kB / 0.4961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.2709, allocations: 18.2 MB / 0.5138 GB, free: 10.56 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.25, allocations: 11.8 kB / 0.5138 GB, free: 10.55 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.332749732770026]