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.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.0008596/0.0008596, allocations: 80.44 kB / 19.93 MB, free: 4.633 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.0008265/0.0008265, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8658/0.8658, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1279/0.1279, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.415e-05, allocations: 2.281 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005765/0.005789, allocations: 6.787 MB / 413.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.009775, allocations: 2.415 MB / 416 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.0105, allocations: 35.88 kB / 416.1 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.01174, allocations: 0.8992 MB / 417 MB, free: 8.059 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.01234, allocations: 341.9 kB / 417.3 MB, free: 7.723 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.01295, allocations: 351 kB / 417.7 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.01375, allocations: 0.7704 MB / 418.4 MB, free: 6.605 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/0.01441, allocations: 0.6694 MB / 419.1 MB, free: 5.922 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.01497, allocations: 0.5221 MB / 419.6 MB, free: 5.398 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007137/0.01569, allocations: 0.6197 MB / 420.2 MB, free: 4.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.01584, allocations: 111.9 kB / 420.4 MB, free: 4.668 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.01643, allocations: 0.5069 MB / 420.9 MB, free: 4.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.01678, allocations: 0.5142 MB / 421.4 MB, free: 3.645 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01707, allocations: 374.9 kB / 421.7 MB, free: 3.277 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.01857, allocations: 1.854 MB / 423.6 MB, free: 1.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01858, allocations: 0 / 423.6 MB, free: 1.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01858, allocations: 4 kB / 423.6 MB, free: 1.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.119e-05/0.01862, allocations: 0 / 423.6 MB, free: 1.414 MB / 394.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.002324/0.02094, allocations: 1.573 MB / 425.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.02098, allocations: 11.97 kB / 425.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.02115, allocations: 186.5 kB / 425.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.02158, allocations: 195.9 kB / 425.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.0223, allocations: 0.5749 MB / 426.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.02233, allocations: 58.34 kB / 426.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.02247, allocations: 80.53 kB / 426.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.02528, allocations: 2.68 MB / 428.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.02531, allocations: 15.83 kB / 429 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.02537, allocations: 39.97 kB / 429 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/0.02565, allocations: 381.8 kB / 429.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.02865, allocations: 2.357 MB / 431.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.03435, allocations: 7.895 MB / 439.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.03629, allocations: 0.9957 MB / 440.6 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.03651, allocations: 232.7 kB / 440.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/0.03712, allocations: 0.616 MB / 441.5 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.03715, allocations: 42.5 kB / 441.5 MB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.03715, allocations: 4 kB / 441.5 MB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.006209/0.04336, allocations: 3.138 MB / 444.6 MB, free: 11.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.0434, allocations: 59.84 kB / 444.7 MB, free: 11.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.04429, allocations: 0.9457 MB / 445.7 MB, free: 10.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.04432, allocations: 37.7 kB / 445.7 MB, free: 10.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.04466, allocations: 0.6745 MB / 446.4 MB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.04479, allocations: 222.2 kB / 446.6 MB, free: 9.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.04501, allocations: 242.8 kB / 446.8 MB, free: 9.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.04517, allocations: 406.7 kB / 447.2 MB, free: 9.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.04555, allocations: 366.4 kB / 447.6 MB, free: 8.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.04624, allocations: 0.9952 MB / 448.6 MB, free: 7.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.04741, allocations: 1.494 MB / 450.1 MB, free: 5.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.04742, allocations: 8 kB / 450.1 MB, free: 5.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001314/0.04874, allocations: 1.395 MB / 451.5 MB, free: 4.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.04876, allocations: 16 kB / 451.5 MB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.04878, allocations: 20 kB / 451.5 MB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.826e-05/0.04882, allocations: 36.69 kB / 451.5 MB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.0495, allocations: 323.5 kB / 451.9 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009248/0.05042, allocations: 1.351 MB / 453.2 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.05087, allocations: 51.95 kB / 453.3 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.05093, allocations: 64 kB / 453.3 MB, free: 2.383 MB / 426.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.0006193/0.05155, allocations: 0.5011 MB / 453.8 MB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.05165, allocations: 91.39 kB / 453.9 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.05175, allocations: 120.7 kB / 454 MB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.05176, allocations: 7.938 kB / 454 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.05176, allocations: 0 / 454 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.05177, allocations: 7.922 kB / 454 MB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.05399, allocations: 2.069 MB / 456.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.054, allocations: 7.938 kB / 456.1 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.05427, allocations: 128.6 kB / 456.2 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.05428, allocations: 12 kB / 456.3 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.0543, allocations: 16 kB / 456.3 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006594/0.05496, allocations: 1.319 MB / 457.6 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.05497, allocations: 7.938 kB / 457.6 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.05558, allocations: 0.8298 MB / 458.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.05574, allocations: 123.4 kB / 458.5 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.05579, allocations: 16 kB / 458.6 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.05596, allocations: 23.97 kB / 458.6 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.05602, allocations: 59.75 kB / 458.6 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.05603, allocations: 24 kB / 458.7 MB, free: 12.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.05655, allocations: 0.6005 MB / 459.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05655, allocations: 4 kB / 459.3 MB, free: 12.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006453/0.0572, allocations: 216 kB / 459.5 MB, free: 11.87 MB / 442.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.0008656/0.05806, allocations: 1.378 MB / 460.9 MB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.059, allocations: 0.8504 MB / 461.7 MB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.059, allocations: 0 / 461.7 MB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.05925, allocations: 263.7 kB / 462 MB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.05976, allocations: 129.4 kB / 462.1 MB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.155/0.2147, allocations: 9.418 MB / 471.5 MB, free: 98.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.2152, allocations: 0.6229 MB / 472.1 MB, free: 98.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005381/0.2157, allocations: 343.2 kB / 472.5 MB, free: 98.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.216, allocations: 406.5 kB / 472.9 MB, free: 98.59 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.216, allocations: 0 / 472.9 MB, free: 98.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.2429, allocations: 18.24 MB / 491.1 MB, free: 96.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.931, allocations: 3.984 kB / 491.1 MB, free: 96.14 MB / 442.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.022757673636079]