Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 106.2 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2548/0.2548, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.66 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02374/0.1459, allocations: 25.7 MB / 494.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.16, allocations: 6.388 MB / 0.489 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005194/0.1652, allocations: 107.8 kB / 0.4891 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.1682, allocations: 1.133 MB / 0.4902 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.1728, allocations: 1.659 MB / 0.4918 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1743, allocations: 0.5147 MB / 0.4923 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006187/0.1805, allocations: 5.388 MB / 0.4976 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.1834, allocations: 1.763 MB / 0.4993 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.1855, allocations: 1.004 MB / 0.5003 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.1883, allocations: 1.771 MB / 0.502 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007918/0.1891, allocations: 156 kB / 0.5022 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2655/0.4546, allocations: 1.332 MB / 0.5035 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002868/0.4575, allocations: 1.547 MB / 0.505 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.4603, allocations: 1.812 MB / 0.5067 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009021/0.4693, allocations: 5.934 MB / 0.5125 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4694, allocations: 0 / 0.5125 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4694, allocations: 0 / 0.5125 GB, free: 13.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002113/0.4696, allocations: 0 / 0.5125 GB, free: 13.52 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01371/0.4833, allocations: 4.137 MB / 0.5166 GB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/0.4834, allocations: 10.78 kB / 0.5166 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001771/0.4852, allocations: 0.6878 MB / 0.5173 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/0.5044, allocations: 5.691 MB / 0.5228 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/0.5124, allocations: 2.809 MB / 0.5256 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.5126, allocations: 181.2 kB / 0.5257 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/0.5145, allocations: 307.3 kB / 0.526 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.5341, allocations: 10.72 MB / 0.5365 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.904e-05/0.5342, allocations: 25.22 kB / 0.5365 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004002/0.5346, allocations: 114.3 kB / 0.5366 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003466/0.5381, allocations: 2.459 MB / 0.539 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.558, allocations: 10.16 MB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05777/0.6158, allocations: 35.69 MB / 0.5838 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6279, allocations: 5.603 MB / 0.5893 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003754/0.6317, allocations: 2.336 MB / 0.5916 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.6336, allocations: 1.87 MB / 0.5934 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.6337, allocations: 60.48 kB / 0.5934 GB, free: 12.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 6.151e-06/0.6337, allocations: 3.938 kB / 0.5935 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03681/0.6705, allocations: 14.96 MB / 0.6081 GB, free: 13.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00136/0.6719, allocations: 1.517 MB / 0.6095 GB, free: 11.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005638/0.6776, allocations: 2.815 MB / 0.6123 GB, free: 9.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004157/0.678, allocations: 53.7 kB / 0.6123 GB, free: 9.098 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.6802, allocations: 2.677 MB / 0.615 GB, free: 6.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.6815, allocations: 0.849 MB / 0.6158 GB, free: 5.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/0.684, allocations: 1.099 MB / 0.6169 GB, free: 4.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.6841, allocations: 304.3 kB / 0.6172 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/0.6883, allocations: 2.626 MB / 0.6197 GB, free: 1.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/0.6951, allocations: 5.634 MB / 0.6252 GB, free: 10.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.707, allocations: 8.936 MB / 0.6339 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.7072, allocations: 32.59 kB / 0.634 GB, free: 492 kB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06163/0.7688, allocations: 19.02 MB / 0.6525 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.769, allocations: 52 kB / 0.6526 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04233/0.8113, allocations: 12.02 MB / 0.6643 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04522/0.8566, allocations: 10.28 MB / 0.6744 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/0.8616, allocations: 1.302 MB / 0.6756 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/0.8893, allocations: 16.06 MB / 0.6913 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/0.8946, allocations: 439.6 kB / 0.6917 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/0.8964, allocations: 323.6 kB / 0.6921 GB, free: 5.453 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.005876/0.9022, allocations: 2.02 MB / 0.694 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009073/0.9032, allocations: 280.4 kB / 0.6943 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2435/1.147, allocations: 5.101 MB / 0.6993 GB, free: 192.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009167/1.156, allocations: 4.408 MB / 0.7036 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.156, allocations: 2.281 kB / 0.7036 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.156, allocations: 12.5 kB / 0.7036 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.178, allocations: 12.92 MB / 0.7162 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.178, allocations: 7.906 kB / 0.7162 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.18, allocations: 459.6 kB / 0.7167 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.182, allocations: 0.9369 MB / 0.7176 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.182, allocations: 51.38 kB / 0.7176 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/1.188, allocations: 5.459 MB / 0.723 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007416/1.188, allocations: 1.454 MB / 0.7244 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00946/1.198, allocations: 7.74 MB / 0.7319 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/1.199, allocations: 324.6 kB / 0.7322 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.199, allocations: 41.48 kB / 0.7323 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.201, allocations: 197.5 kB / 0.7325 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003711/1.201, allocations: 144.6 kB / 0.7326 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.201, allocations: 67.97 kB / 0.7327 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002381/1.203, allocations: 1.733 MB / 0.7344 GB, free: 175 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/1.203, allocations: 3.969 kB / 0.7344 GB, free: 175 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005016/1.208, allocations: 1.101 MB / 0.7354 GB, free: 173.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/1.219, allocations: 8.389 MB / 0.7436 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009996/1.229, allocations: 6.585 MB / 0.7501 GB, free: 159 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.229, allocations: 0 / 0.7501 GB, free: 159 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/1.232, allocations: 2.524 MB / 0.7525 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.235, allocations: 364.8 kB / 0.7529 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1321/1.367, allocations: 64.36 MB / 0.8157 GB, free: 85.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.37, allocations: 3.161 MB / 0.8188 GB, free: 82.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004032/1.374, allocations: 2.064 MB / 0.8208 GB, free: 80.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.376, allocations: 1.659 MB / 0.8225 GB, free: 78.97 MB / 0.5294 GB Notification: Performance of SimCode: time 7.51e-07/1.376, allocations: 0 / 0.8225 GB, free: 78.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.498, allocations: 72.31 MB / 0.8931 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.498, allocations: 228.3 kB / 0.8933 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/5.227, allocations: 0 / 0.8933 GB, free: 6.629 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches