Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008285/0.0008285, allocations: 83.69 kB / 20.67 MB, free: 3.883 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.001006/0.001006, allocations: 174 kB / 23.95 MB, free: 0.6055 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.9263/0.9263, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2574/0.2574, allocations: 34.24 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.283e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.1933/0.1933, allocations: 6.741 MB / 448.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.1973, allocations: 2.449 MB / 451.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1983, allocations: 36.25 kB / 451.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.1995, allocations: 0.9122 MB / 452.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.2002, allocations: 330 kB / 452.6 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.2008, allocations: 354.2 kB / 453 MB, free: 38.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.2014, allocations: 0.7388 MB / 453.7 MB, free: 38.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.2019, allocations: 0.647 MB / 454.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.2023, allocations: 0.5115 MB / 454.9 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.2029, allocations: 0.6232 MB / 455.5 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.203, allocations: 105.1 kB / 455.6 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.2035, allocations: 0.5168 MB / 456.1 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.2038, allocations: 0.5206 MB / 456.6 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.204, allocations: 365.4 kB / 457 MB, free: 37.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2052, allocations: 1.836 MB / 458.8 MB, free: 36.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2052, allocations: 0 / 458.8 MB, free: 36.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2052, allocations: 3.219 kB / 458.8 MB, free: 36.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2052, allocations: 0 / 458.8 MB, free: 36.44 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.001774/0.207, allocations: 1.569 MB / 460.4 MB, free: 35.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.207, allocations: 12.84 kB / 460.4 MB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.2072, allocations: 185 kB / 460.6 MB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/0.2076, allocations: 190.4 kB / 460.8 MB, free: 35.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.2082, allocations: 0.5709 MB / 461.4 MB, free: 35.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2082, allocations: 60.5 kB / 461.4 MB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2084, allocations: 88.39 kB / 461.5 MB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.2109, allocations: 2.68 MB / 464.2 MB, free: 33.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.2109, allocations: 6.938 kB / 464.2 MB, free: 33.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.211, allocations: 40.72 kB / 464.2 MB, free: 33.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.2112, allocations: 382.6 kB / 464.6 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.2137, allocations: 2.353 MB / 467 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.2182, allocations: 7.892 MB / 474.9 MB, free: 27.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.22, allocations: 0.9837 MB / 475.8 MB, free: 27.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2202, allocations: 233.6 kB / 476.1 MB, free: 27.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/0.2208, allocations: 0.6265 MB / 476.7 MB, free: 27.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2209, allocations: 41.47 kB / 476.7 MB, free: 27.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 4.178e-06/0.2209, allocations: 1.078 kB / 476.7 MB, free: 27.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.006123/0.227, allocations: 3.135 MB / 479.9 MB, free: 26.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.227, allocations: 61.84 kB / 479.9 MB, free: 26.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.2279, allocations: 0.9429 MB / 480.9 MB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2279, allocations: 36.14 kB / 480.9 MB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.2282, allocations: 0.6726 MB / 481.6 MB, free: 25.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.2283, allocations: 218.1 kB / 481.8 MB, free: 25.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.2285, allocations: 246.6 kB / 482 MB, free: 24.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.2286, allocations: 400.8 kB / 482.4 MB, free: 24.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.2289, allocations: 366.1 kB / 482.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.2294, allocations: 0.9974 MB / 483.8 MB, free: 23.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.2304, allocations: 1.489 MB / 485.3 MB, free: 22.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.2304, allocations: 8 kB / 485.3 MB, free: 22.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00136/0.2318, allocations: 1.406 MB / 486.7 MB, free: 21.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.2318, allocations: 15.28 kB / 486.7 MB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.2318, allocations: 22.31 kB / 486.7 MB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.111e-05/0.2319, allocations: 33.28 kB / 486.8 MB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.2325, allocations: 320 kB / 487.1 MB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005886/0.2331, allocations: 1.347 MB / 488.4 MB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.2336, allocations: 55.34 kB / 488.5 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.2337, allocations: 63.56 kB / 488.5 MB, free: 20.31 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.0004986/0.2342, allocations: 0.4977 MB / 489 MB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2343, allocations: 93.66 kB / 489.1 MB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.2343, allocations: 118.6 kB / 489.2 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2343, allocations: 6.25 kB / 489.2 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.2344, allocations: 0 / 489.2 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2344, allocations: 5.281 kB / 489.2 MB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.2364, allocations: 2.063 MB / 491.3 MB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2364, allocations: 15.22 kB / 491.3 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.2367, allocations: 127.9 kB / 491.4 MB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.2367, allocations: 9.625 kB / 491.5 MB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2367, allocations: 17.62 kB / 491.5 MB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/0.2371, allocations: 1.311 MB / 492.8 MB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.2371, allocations: 15 kB / 492.8 MB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.2378, allocations: 0.8257 MB / 493.6 MB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2379, allocations: 86.56 kB / 493.7 MB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.2379, allocations: 19.8 kB / 493.7 MB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2381, allocations: 18.09 kB / 493.7 MB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.2381, allocations: 62.67 kB / 493.8 MB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2382, allocations: 29.58 kB / 493.8 MB, free: 16.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005331/0.2387, allocations: 0.5936 MB / 494.4 MB, free: 16.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2387, allocations: 0 / 494.4 MB, free: 16.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007695/0.2395, allocations: 214.1 kB / 494.6 MB, free: 16.57 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.0007892/0.2403, allocations: 1.384 MB / 496 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.2414, allocations: 0.8378 MB / 496.9 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2414, allocations: 5 kB / 496.9 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.2417, allocations: 269.4 kB / 497.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.2422, allocations: 131.7 kB / 497.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/0.252, allocations: 9.383 MB / 0.4948 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.2526, allocations: 0.622 MB / 0.4954 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007018/0.2533, allocations: 342.7 kB / 0.4957 GB, free: 8.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.2537, allocations: 403.3 kB / 0.4961 GB, free: 8.668 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2537, allocations: 0 / 0.4961 GB, free: 8.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.2836, allocations: 18.2 MB / 0.5139 GB, free: 10.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.247, allocations: 6.75 kB / 0.5139 GB, free: 10.71 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.433145044371486]