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.001827/0.001827, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002268/0.002268, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.003089/0.003089, allocations: 63.89 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1295, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00988/0.1394, allocations: 7.638 MB / 0.5628 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.1446, allocations: 2.589 MB / 0.5654 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/0.1454, allocations: 35.88 kB / 0.5654 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.1475, allocations: 0.911 MB / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000893/0.1484, allocations: 318.3 kB / 0.5666 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.1492, allocations: 335.2 kB / 0.5669 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1502, allocations: 0.7201 MB / 0.5676 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.1512, allocations: 0.6812 MB / 0.5683 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.1518, allocations: 358.7 kB / 0.5686 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.1528, allocations: 0.6971 MB / 0.5693 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.1531, allocations: 107.9 kB / 0.5694 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009566/0.154, allocations: 0.5421 MB / 0.5699 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005945/0.1546, allocations: 0.4908 MB / 0.5704 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.1554, allocations: 0.5749 MB / 0.571 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.1577, allocations: 1.771 MB / 0.5727 GB, free: 4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1577, allocations: 0 / 0.5727 GB, free: 4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1577, allocations: 0 / 0.5727 GB, free: 4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.709e-05/0.1578, allocations: 0 / 0.5727 GB, free: 4 MB / 430.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.003793/0.1616, allocations: 1.667 MB / 0.5743 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1616, allocations: 8.031 kB / 0.5743 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.1619, allocations: 186.5 kB / 0.5745 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/0.1626, allocations: 168 kB / 0.5747 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1636, allocations: 0.636 MB / 0.5753 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.1637, allocations: 62.09 kB / 0.5754 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.1639, allocations: 79.97 kB / 0.5754 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.1693, allocations: 2.67 MB / 0.578 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.1693, allocations: 11.88 kB / 0.5781 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1694, allocations: 35.97 kB / 0.5781 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005339/0.1699, allocations: 381.8 kB / 0.5785 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005381/0.1753, allocations: 2.361 MB / 0.5808 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009658/0.185, allocations: 8.249 MB / 0.5888 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.1889, allocations: 0.9428 MB / 0.5897 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.1893, allocations: 240.7 kB / 0.59 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2274/0.4167, allocations: 1.725 MB / 0.5917 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4167, allocations: 39.7 kB / 0.5917 GB, free: 35.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/0.4167, allocations: 0 / 0.5917 GB, free: 35.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01183/0.4286, allocations: 2.963 MB / 0.5946 GB, free: 35.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4286, allocations: 59.27 kB / 0.5946 GB, free: 35.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4298, allocations: 0.9003 MB / 0.5955 GB, free: 35.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4298, allocations: 35.08 kB / 0.5956 GB, free: 35.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4302, allocations: 0.6808 MB / 0.5962 GB, free: 35.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.4303, allocations: 224.2 kB / 0.5964 GB, free: 34.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.4307, allocations: 245.5 kB / 0.5967 GB, free: 34.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4308, allocations: 404 kB / 0.5971 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.4314, allocations: 370.2 kB / 0.5974 GB, free: 34.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.4322, allocations: 0.9959 MB / 0.5984 GB, free: 33.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4336, allocations: 1.491 MB / 0.5998 GB, free: 32.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.4336, allocations: 12.86 kB / 0.5998 GB, free: 32.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002081/0.4357, allocations: 1.402 MB / 0.6012 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.4357, allocations: 21.23 kB / 0.6012 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.4357, allocations: 24.25 kB / 0.6013 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.733e-05/0.4358, allocations: 30.62 kB / 0.6013 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.437, allocations: 320.3 kB / 0.6016 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007229/0.4378, allocations: 1.45 MB / 0.603 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.4385, allocations: 56.2 kB / 0.6031 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.4385, allocations: 66.2 kB / 0.6031 GB, free: 30.45 MB / 446.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.0005704/0.4391, allocations: 499 kB / 0.6036 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4392, allocations: 90.86 kB / 0.6037 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.4394, allocations: 115.8 kB / 0.6038 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4394, allocations: 5.875 kB / 0.6038 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4395, allocations: 0 / 0.6038 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4395, allocations: 8.375 kB / 0.6038 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.4428, allocations: 2.171 MB / 0.6059 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4428, allocations: 6.078 kB / 0.6059 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.4433, allocations: 128.7 kB / 0.6061 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.4433, allocations: 12.47 kB / 0.6061 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4434, allocations: 18.34 kB / 0.6061 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005698/0.4439, allocations: 1.423 MB / 0.6075 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.444, allocations: 7.031 kB / 0.6075 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.4448, allocations: 0.8379 MB / 0.6083 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.4449, allocations: 171.2 kB / 0.6085 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.445, allocations: 19.56 kB / 0.6085 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.4453, allocations: 17.41 kB / 0.6085 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.4454, allocations: 58.5 kB / 0.6086 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.4454, allocations: 25.22 kB / 0.6086 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007517/0.4462, allocations: 0.5933 MB / 0.6092 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4462, allocations: 0 / 0.6092 GB, free: 26.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4472, allocations: 215.1 kB / 0.6094 GB, free: 26.43 MB / 446.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.0009758/0.4482, allocations: 1.401 MB / 0.6107 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.4496, allocations: 0.8482 MB / 0.6116 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.4496, allocations: 1.344 kB / 0.6116 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.45, allocations: 268.4 kB / 0.6118 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.4507, allocations: 126.3 kB / 0.6119 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4613, allocations: 9.406 MB / 0.6211 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.4621, allocations: 1.219 MB / 0.6223 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007448/0.4628, allocations: 342.8 kB / 0.6226 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.4632, allocations: 403.6 kB / 0.623 GB, free: 17.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4632, allocations: 0 / 0.623 GB, free: 17.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.5042, allocations: 17.36 MB / 0.64 GB, free: 3.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.39, allocations: 5.422 kB / 0.64 GB, free: 3.277 MB / 446.1 MB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/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: 19.49829779099673]