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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8893/0.8893, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2565/0.2565, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.102e-05, allocations: 5.094 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.1846/0.1846, allocations: 6.745 MB / 446.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.1879, allocations: 2.448 MB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.1885, allocations: 36.53 kB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.1895, allocations: 0.9151 MB / 449.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.19, allocations: 327.9 kB / 450.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.1905, allocations: 351.6 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.191, allocations: 0.7371 MB / 451.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.1915, allocations: 0.6479 MB / 451.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.1918, allocations: 0.5114 MB / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.1923, allocations: 0.6213 MB / 452.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.705e-05/0.1924, allocations: 109.1 kB / 453 MB, free: 40.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.1929, allocations: 0.5152 MB / 453.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.1931, allocations: 0.5178 MB / 454.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1933, allocations: 360.1 kB / 454.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.1943, allocations: 1.841 MB / 456.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1943, allocations: 0 / 456.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1943, allocations: 0 / 456.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1943, allocations: 3.188 kB / 456.3 MB, free: 38.96 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.001726/0.1961, allocations: 1.578 MB / 457.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1961, allocations: 9.438 kB / 457.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.1963, allocations: 180.7 kB / 458 MB, free: 37.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.1967, allocations: 193.1 kB / 458.2 MB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.1973, allocations: 0.5724 MB / 458.8 MB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1973, allocations: 59.78 kB / 458.8 MB, free: 37.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.1974, allocations: 88.67 kB / 458.9 MB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.2, allocations: 2.675 MB / 461.6 MB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2001, allocations: 7.25 kB / 461.6 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.2001, allocations: 42 kB / 461.6 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.2004, allocations: 384.7 kB / 462 MB, free: 36.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.2032, allocations: 2.356 MB / 464.4 MB, free: 35.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.208, allocations: 7.897 MB / 472.3 MB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.21, allocations: 0.9893 MB / 473.3 MB, free: 29.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.2102, allocations: 235 kB / 473.5 MB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.2108, allocations: 0.6129 MB / 474.1 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2108, allocations: 44.72 kB / 474.2 MB, free: 29.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.2108, allocations: 2.844 kB / 474.2 MB, free: 29.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.006446/0.2173, allocations: 3.137 MB / 477.3 MB, free: 28.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2173, allocations: 61.84 kB / 477.4 MB, free: 28.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.2182, allocations: 0.9451 MB / 478.3 MB, free: 28.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2182, allocations: 33.7 kB / 478.3 MB, free: 28.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.2184, allocations: 0.672 MB / 479 MB, free: 27.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.2185, allocations: 225.2 kB / 479.2 MB, free: 27.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.2187, allocations: 241.7 kB / 479.5 MB, free: 27.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.2188, allocations: 403.3 kB / 479.9 MB, free: 27.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.2192, allocations: 369.1 kB / 480.2 MB, free: 26.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.2197, allocations: 0.9995 MB / 481.2 MB, free: 26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2208, allocations: 1.489 MB / 482.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2208, allocations: 6.844 kB / 482.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001435/0.2223, allocations: 1.403 MB / 484.1 MB, free: 24.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.2223, allocations: 15.06 kB / 484.1 MB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.2223, allocations: 21.59 kB / 484.1 MB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/0.2224, allocations: 31 kB / 484.2 MB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.2231, allocations: 323.8 kB / 484.5 MB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005932/0.2237, allocations: 1.346 MB / 485.8 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.2242, allocations: 51.17 kB / 485.9 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.2242, allocations: 63.94 kB / 486 MB, free: 22.82 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.000497/0.2247, allocations: 0.4996 MB / 486.5 MB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.2248, allocations: 90.55 kB / 486.5 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2249, allocations: 114.8 kB / 486.7 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2249, allocations: 6.844 kB / 486.7 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2249, allocations: 0 / 486.7 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2249, allocations: 3.328 kB / 486.7 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.2272, allocations: 2.069 MB / 488.7 MB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.2272, allocations: 13.25 kB / 488.7 MB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.2275, allocations: 129.7 kB / 488.9 MB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.2275, allocations: 8.812 kB / 488.9 MB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2275, allocations: 18.19 kB / 488.9 MB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004678/0.228, allocations: 1.318 MB / 490.2 MB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.228, allocations: 9.938 kB / 490.2 MB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.2287, allocations: 0.8174 MB / 491 MB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2288, allocations: 91.16 kB / 491.1 MB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.2289, allocations: 17.38 kB / 491.1 MB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2291, allocations: 17.03 kB / 491.2 MB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.2291, allocations: 65.7 kB / 491.2 MB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2292, allocations: 21.66 kB / 491.2 MB, free: 19.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005958/0.2297, allocations: 0.5915 MB / 491.8 MB, free: 19.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2297, allocations: 0 / 491.8 MB, free: 19.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008056/0.2306, allocations: 214.2 kB / 492.1 MB, free: 19.08 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.0007735/0.2313, allocations: 1.384 MB / 493.4 MB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.2324, allocations: 0.8474 MB / 494.3 MB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2324, allocations: 1.656 kB / 494.3 MB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.2327, allocations: 268.9 kB / 494.5 MB, free: 17.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.2332, allocations: 127.1 kB / 494.7 MB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.2421, allocations: 9.386 MB / 0.4922 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.2428, allocations: 0.618 MB / 0.4928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006539/0.2435, allocations: 342 kB / 0.4932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.2438, allocations: 406.3 kB / 0.4936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2438, allocations: 0 / 0.4936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.2764, allocations: 18.2 MB / 0.5113 GB, free: 14.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.335, allocations: 9.016 kB / 0.5113 GB, free: 14.59 MB / 426.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.433355535380542]