Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.0016/0.001599, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001394/0.001394, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.436/1.436, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2045/0.2045, allocations: 44.18 MB / 336.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 60.5 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1157, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01966/0.1354, allocations: 18.09 MB / 486.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009852/0.1453, allocations: 4.214 MB / 491.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.1491, allocations: 71.81 kB / 491.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.1513, allocations: 0.8414 MB / 492 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.1523, allocations: 282 kB / 492.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.1532, allocations: 299.5 kB / 492.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1545, allocations: 0.7476 MB / 493.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.1558, allocations: 0.8648 MB / 494.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/0.1565, allocations: 366.7 kB / 494.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1577, allocations: 0.7089 MB / 495.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.158, allocations: 104 kB / 495.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.159, allocations: 0.5186 MB / 495.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.1596, allocations: 0.5026 MB / 496.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.1602, allocations: 0.5749 MB / 497 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.1622, allocations: 1.752 MB / 498.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1622, allocations: 0 / 498.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1622, allocations: 3.938 kB / 498.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.1622, allocations: 0 / 498.7 MB, free: 0.6094 MB / 366.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.003553/0.1658, allocations: 1.626 MB / 0.4886 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1659, allocations: 12.03 kB / 0.4886 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002729/0.1661, allocations: 182.5 kB / 0.4888 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.1669, allocations: 159.3 kB / 0.489 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1679, allocations: 0.6316 MB / 0.4896 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.168, allocations: 62.09 kB / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.1682, allocations: 83.95 kB / 0.4897 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/0.1732, allocations: 2.673 MB / 0.4923 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.1732, allocations: 3.938 kB / 0.4923 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1733, allocations: 39.97 kB / 0.4924 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005109/0.1739, allocations: 393.6 kB / 0.4928 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/0.1793, allocations: 2.357 MB / 0.4951 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.3737, allocations: 8.258 MB / 0.5031 GB, free: 50.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.3779, allocations: 0.9764 MB / 0.5041 GB, free: 50.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.3784, allocations: 261.1 kB / 0.5043 GB, free: 50.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.3797, allocations: 1.726 MB / 0.506 GB, free: 48.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3797, allocations: 38.48 kB / 0.506 GB, free: 48.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.3798, allocations: 0.5312 kB / 0.506 GB, free: 48.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01217/0.3919, allocations: 2.945 MB / 0.5089 GB, free: 48.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.392, allocations: 59.05 kB / 0.509 GB, free: 48.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.3933, allocations: 0.9068 MB / 0.5099 GB, free: 47.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3933, allocations: 35.89 kB / 0.5099 GB, free: 47.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.3937, allocations: 0.6617 MB / 0.5105 GB, free: 47.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.3939, allocations: 218.1 kB / 0.5108 GB, free: 47.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.3943, allocations: 245.3 kB / 0.511 GB, free: 47.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3944, allocations: 403.3 kB / 0.5114 GB, free: 46.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.395, allocations: 368.4 kB / 0.5117 GB, free: 46.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.3958, allocations: 0.9948 MB / 0.5127 GB, free: 45.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.3972, allocations: 1.495 MB / 0.5142 GB, free: 44.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.3972, allocations: 10.06 kB / 0.5142 GB, free: 44.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002303/0.3995, allocations: 1.395 MB / 0.5155 GB, free: 43.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3996, allocations: 14.19 kB / 0.5155 GB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.3996, allocations: 26.72 kB / 0.5156 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.337e-05/0.3997, allocations: 31.16 kB / 0.5156 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4009, allocations: 319.8 kB / 0.5159 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00072/0.4016, allocations: 1.454 MB / 0.5173 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.4024, allocations: 54.62 kB / 0.5174 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.4025, allocations: 71.84 kB / 0.5174 GB, free: 42.38 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.0006492/0.4031, allocations: 498.6 kB / 0.5179 GB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4033, allocations: 86.7 kB / 0.518 GB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.4035, allocations: 120.5 kB / 0.5181 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4035, allocations: 5.406 kB / 0.5181 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4035, allocations: 1.125 kB / 0.5181 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4035, allocations: 7.328 kB / 0.5181 GB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.4068, allocations: 2.18 MB / 0.5203 GB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.4069, allocations: 5.5 kB / 0.5203 GB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.4074, allocations: 130.3 kB / 0.5204 GB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.4074, allocations: 9.625 kB / 0.5204 GB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.4075, allocations: 21.62 kB / 0.5204 GB, free: 40.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005818/0.4081, allocations: 1.426 MB / 0.5218 GB, free: 39.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.4081, allocations: 6.875 kB / 0.5218 GB, free: 39.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.4089, allocations: 0.8355 MB / 0.5226 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4091, allocations: 164 kB / 0.5228 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4092, allocations: 18.31 kB / 0.5228 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4096, allocations: 19.95 kB / 0.5228 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.4097, allocations: 56.61 kB / 0.5229 GB, free: 38.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.4097, allocations: 22 kB / 0.5229 GB, free: 38.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006692/0.4104, allocations: 0.5954 MB / 0.5235 GB, free: 38.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4104, allocations: 4 kB / 0.5235 GB, free: 38.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001061/0.4114, allocations: 217 kB / 0.5237 GB, free: 38.37 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.0009616/0.4124, allocations: 1.397 MB / 0.5251 GB, free: 37.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.4138, allocations: 0.9441 MB / 0.526 GB, free: 36.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4138, allocations: 1.281 kB / 0.526 GB, free: 36.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.4142, allocations: 285.9 kB / 0.5263 GB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.415, allocations: 128.3 kB / 0.5264 GB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4252, allocations: 10.25 MB / 0.5364 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.4259, allocations: 1.224 MB / 0.5376 GB, free: 26.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007667/0.4267, allocations: 340.6 kB / 0.5379 GB, free: 25.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.4271, allocations: 411.2 kB / 0.5383 GB, free: 25.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4271, allocations: 0 / 0.5383 GB, free: 25.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4544, allocations: 16.84 MB / 0.5547 GB, free: 8.859 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.4546, allocations: 208.4 kB / 0.5549 GB, free: 8.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.632, allocations: 4.062 kB / 0.555 GB, free: 8.598 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches