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.00166/0.00166, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.3 MB, free: 9.012 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.12 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 75.19 kB / 416.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1335, allocations: 62.44 MB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01808/0.1516, allocations: 17.99 MB / 497.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1618, allocations: 4.257 MB / 0.4899 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.1651, allocations: 67.88 kB / 0.4899 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.1672, allocations: 0.8998 MB / 0.4908 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008999/0.1682, allocations: 278.7 kB / 0.4911 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.169, allocations: 287.5 kB / 0.4914 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1704, allocations: 1.11 MB / 0.4924 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1717, allocations: 0.8186 MB / 0.4932 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.1723, allocations: 330.6 kB / 0.4936 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1734, allocations: 0.6738 MB / 0.4942 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.1737, allocations: 84 kB / 0.4943 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.1747, allocations: 0.5342 MB / 0.4948 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.1753, allocations: 486.7 kB / 0.4953 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.1761, allocations: 0.5398 MB / 0.4958 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1779, allocations: 1.706 MB / 0.4975 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1779, allocations: 0 / 0.4975 GB, free: 7.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1779, allocations: 0 / 0.4975 GB, free: 7.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.784e-05/0.1779, allocations: 0 / 0.4975 GB, free: 7.418 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.003572/0.1815, allocations: 1.63 MB / 0.4991 GB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1816, allocations: 8.875 kB / 0.4991 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.1819, allocations: 190.4 kB / 0.4993 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006893/0.1826, allocations: 155.3 kB / 0.4994 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.1836, allocations: 0.6279 MB / 0.5 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.1836, allocations: 58.09 kB / 0.5001 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.1838, allocations: 83.95 kB / 0.5001 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/0.1888, allocations: 2.662 MB / 0.5027 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.1888, allocations: 11.84 kB / 0.5028 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.1889, allocations: 35.97 kB / 0.5028 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005/0.1894, allocations: 389.7 kB / 0.5032 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2003/0.3897, allocations: 2.352 MB / 0.5055 GB, free: 42.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.3976, allocations: 8.263 MB / 0.5135 GB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.4014, allocations: 0.9705 MB / 0.5145 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.4018, allocations: 263 kB / 0.5147 GB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.4031, allocations: 1.73 MB / 0.5164 GB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4031, allocations: 37.64 kB / 0.5165 GB, free: 35.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.4031, allocations: 3.719 kB / 0.5165 GB, free: 35.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01149/0.4146, allocations: 2.943 MB / 0.5193 GB, free: 34.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.4147, allocations: 58.58 kB / 0.5194 GB, free: 34.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4159, allocations: 0.8973 MB / 0.5203 GB, free: 34.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4159, allocations: 35.59 kB / 0.5203 GB, free: 34.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.4162, allocations: 0.6603 MB / 0.5209 GB, free: 33.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4164, allocations: 208.5 kB / 0.5211 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.4166, allocations: 249.5 kB / 0.5214 GB, free: 33.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4168, allocations: 410.4 kB / 0.5218 GB, free: 33.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.4174, allocations: 368.6 kB / 0.5221 GB, free: 33.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009333/0.4183, allocations: 0.9949 MB / 0.5231 GB, free: 32.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.4197, allocations: 1.496 MB / 0.5246 GB, free: 30.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4197, allocations: 6.094 kB / 0.5246 GB, free: 30.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00188/0.4216, allocations: 1.398 MB / 0.5259 GB, free: 30.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4216, allocations: 14.22 kB / 0.5259 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.4216, allocations: 22.25 kB / 0.526 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.089e-05/0.4217, allocations: 30.19 kB / 0.526 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4229, allocations: 325.7 kB / 0.5263 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.4236, allocations: 1.358 MB / 0.5276 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.4243, allocations: 56.92 kB / 0.5277 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/0.4244, allocations: 68.56 kB / 0.5277 GB, free: 28.91 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.0005879/0.425, allocations: 0.492 MB / 0.5282 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4251, allocations: 82.97 kB / 0.5283 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.4253, allocations: 120.6 kB / 0.5284 GB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4253, allocations: 13.28 kB / 0.5284 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4253, allocations: 1.156 kB / 0.5284 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.4253, allocations: 3.984 kB / 0.5284 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.4283, allocations: 2.177 MB / 0.5306 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4284, allocations: 7.938 kB / 0.5306 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.4289, allocations: 127.8 kB / 0.5307 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.4289, allocations: 8.938 kB / 0.5307 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.4289, allocations: 18 kB / 0.5307 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.4295, allocations: 1.329 MB / 0.532 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.4295, allocations: 11.66 kB / 0.532 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.4303, allocations: 0.823 MB / 0.5328 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4305, allocations: 164.8 kB / 0.533 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.4306, allocations: 21.56 kB / 0.533 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.4309, allocations: 20.25 kB / 0.533 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.431, allocations: 61.75 kB / 0.5331 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.431, allocations: 21.88 kB / 0.5331 GB, free: 24.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006209/0.4317, allocations: 0.5917 MB / 0.5337 GB, free: 24.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4317, allocations: 0 / 0.5337 GB, free: 24.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009919/0.4327, allocations: 216.8 kB / 0.5339 GB, free: 24.34 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.0008969/0.4336, allocations: 1.397 MB / 0.5353 GB, free: 23.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4348, allocations: 0.866 MB / 0.5361 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4348, allocations: 0 / 0.5361 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.4352, allocations: 280.8 kB / 0.5364 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.436, allocations: 124.2 kB / 0.5365 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.4467, allocations: 10.22 MB / 0.5465 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.4474, allocations: 1.227 MB / 0.5477 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.4482, allocations: 339.6 kB / 0.548 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.4487, allocations: 407.3 kB / 0.5484 GB, free: 9.461 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4487, allocations: 0 / 0.5484 GB, free: 9.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4823, allocations: 16.44 MB / 0.5644 GB, free: 9.184 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.4825, allocations: 205.1 kB / 0.5646 GB, free: 8.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.751, allocations: 0 / 0.5646 GB, free: 8.926 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