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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.4 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 80.34 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01922/0.1329, allocations: 17.98 MB / 497.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.144, allocations: 4.214 MB / 0.49 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/0.148, allocations: 67.88 kB / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.1504, allocations: 0.8686 MB / 0.4909 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.1515, allocations: 274.7 kB / 0.4912 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.1525, allocations: 295.5 kB / 0.4915 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1539, allocations: 0.732 MB / 0.4922 GB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.1553, allocations: 0.8648 MB / 0.4931 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.156, allocations: 362.6 kB / 0.4934 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1571, allocations: 0.705 MB / 0.4941 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.1574, allocations: 108 kB / 0.4942 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1586, allocations: 0.5226 MB / 0.4947 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007576/0.1594, allocations: 0.4948 MB / 0.4952 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.1604, allocations: 0.5632 MB / 0.4957 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1625, allocations: 1.745 MB / 0.4974 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1625, allocations: 0 / 0.4974 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1625, allocations: 0 / 0.4974 GB, free: 7.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.633e-05/0.1626, allocations: 0 / 0.4974 GB, free: 7.621 MB / 382.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.004153/0.1667, allocations: 1.623 MB / 0.499 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1668, allocations: 8.031 kB / 0.499 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003999/0.1672, allocations: 186.5 kB / 0.4992 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.1681, allocations: 163.2 kB / 0.4994 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1695, allocations: 0.6279 MB / 0.5 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.1695, allocations: 62.09 kB / 0.5 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1697, allocations: 79.97 kB / 0.5001 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/0.175, allocations: 2.665 MB / 0.5027 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.1751, allocations: 11.84 kB / 0.5027 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1752, allocations: 39.97 kB / 0.5028 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005701/0.1758, allocations: 385.7 kB / 0.5031 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.197/0.3728, allocations: 2.348 MB / 0.5054 GB, free: 43.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009815/0.3826, allocations: 8.259 MB / 0.5135 GB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.3867, allocations: 0.9764 MB / 0.5144 GB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.3872, allocations: 262.7 kB / 0.5147 GB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/0.3889, allocations: 1.724 MB / 0.5164 GB, free: 35.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.389, allocations: 42.05 kB / 0.5164 GB, free: 35.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.898e-06/0.389, allocations: 1 kB / 0.5164 GB, free: 35.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01229/0.4013, allocations: 2.945 MB / 0.5193 GB, free: 35.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4014, allocations: 58.56 kB / 0.5193 GB, free: 35.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.403, allocations: 0.8973 MB / 0.5202 GB, free: 34.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.403, allocations: 36.17 kB / 0.5203 GB, free: 34.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.4034, allocations: 0.6581 MB / 0.5209 GB, free: 34.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4036, allocations: 211.1 kB / 0.5211 GB, free: 33.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.4039, allocations: 245.8 kB / 0.5213 GB, free: 33.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4041, allocations: 407.5 kB / 0.5217 GB, free: 33.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.4047, allocations: 372.9 kB / 0.5221 GB, free: 33.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/0.4055, allocations: 0.9998 MB / 0.5231 GB, free: 32.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.4069, allocations: 1.49 MB / 0.5245 GB, free: 31.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.4069, allocations: 7.125 kB / 0.5245 GB, free: 31.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001986/0.4089, allocations: 1.403 MB / 0.5259 GB, free: 30.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4089, allocations: 15.31 kB / 0.5259 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.409, allocations: 23.48 kB / 0.5259 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.365e-05/0.409, allocations: 35.09 kB / 0.526 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4102, allocations: 316.5 kB / 0.5263 GB, free: 30.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.411, allocations: 1.448 MB / 0.5277 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.4117, allocations: 60.17 kB / 0.5277 GB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.4118, allocations: 70.34 kB / 0.5278 GB, free: 28.95 MB / 382.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.0006881/0.4125, allocations: 0.4994 MB / 0.5283 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4126, allocations: 85.53 kB / 0.5284 GB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.4128, allocations: 116 kB / 0.5285 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4128, allocations: 5.844 kB / 0.5285 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.4128, allocations: 5.094 kB / 0.5285 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4129, allocations: 0 / 0.5285 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.4159, allocations: 2.178 MB / 0.5306 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4159, allocations: 5.5 kB / 0.5306 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.4164, allocations: 124.1 kB / 0.5307 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4164, allocations: 9.625 kB / 0.5307 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.4164, allocations: 18.09 kB / 0.5308 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005576/0.417, allocations: 1.431 MB / 0.5322 GB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.417, allocations: 14.75 kB / 0.5322 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.4178, allocations: 0.829 MB / 0.533 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.418, allocations: 160.5 kB / 0.5331 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.4181, allocations: 23.2 kB / 0.5332 GB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.4184, allocations: 15.16 kB / 0.5332 GB, free: 24.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.4185, allocations: 61.83 kB / 0.5332 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4185, allocations: 17.47 kB / 0.5333 GB, free: 24.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.4192, allocations: 0.5993 MB / 0.5338 GB, free: 24.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4192, allocations: 3.875 kB / 0.5338 GB, free: 24.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009246/0.4201, allocations: 213 kB / 0.534 GB, free: 24.27 MB / 382.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.0008998/0.421, allocations: 1.393 MB / 0.5354 GB, free: 23.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.4224, allocations: 0.9441 MB / 0.5363 GB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4224, allocations: 0 / 0.5363 GB, free: 22.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.4228, allocations: 282.2 kB / 0.5366 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.4235, allocations: 130.9 kB / 0.5367 GB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009684/0.4332, allocations: 10.23 MB / 0.5467 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.4339, allocations: 1.216 MB / 0.5479 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008274/0.4347, allocations: 343.5 kB / 0.5482 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.4352, allocations: 403.3 kB / 0.5486 GB, free: 9.371 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4352, allocations: 0 / 0.5486 GB, free: 9.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4667, allocations: 16.78 MB / 0.565 GB, free: 8.773 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.4671, allocations: 209.2 kB / 0.5652 GB, free: 8.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.708, allocations: 3.938 kB / 0.5652 GB, free: 8.508 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches