Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001334/0.001334, allocations: 113.9 kB / 19.69 MB, free: 2.207 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.001611/0.001611, allocations: 219.4 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.23 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 71.91 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 61.04 MB / 0.5162 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009785/0.1324, allocations: 7.698 MB / 0.5237 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.1375, allocations: 2.575 MB / 0.5262 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.1383, allocations: 35.88 kB / 0.5262 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.1401, allocations: 0.8993 MB / 0.5271 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.1409, allocations: 330.3 kB / 0.5274 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.1416, allocations: 327.2 kB / 0.5277 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.1425, allocations: 0.7436 MB / 0.5284 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008571/0.1433, allocations: 0.6617 MB / 0.5291 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.1438, allocations: 378.5 kB / 0.5295 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009468/0.1447, allocations: 0.6893 MB / 0.5301 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.1449, allocations: 104 kB / 0.5302 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.1457, allocations: 0.546 MB / 0.5308 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.1462, allocations: 0.4986 MB / 0.5312 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005415/0.1468, allocations: 0.5749 MB / 0.5318 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1487, allocations: 1.786 MB / 0.5336 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1487, allocations: 3.938 kB / 0.5336 GB, free: 5.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1487, allocations: 0 / 0.5336 GB, free: 5.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.1487, allocations: 0 / 0.5336 GB, free: 5.422 MB / 414.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.003175/0.1519, allocations: 1.6 MB / 0.5351 GB, free: 3.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1519, allocations: 12.03 kB / 0.5351 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.1521, allocations: 182.5 kB / 0.5353 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006438/0.1528, allocations: 164 kB / 0.5355 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1539, allocations: 0.5795 MB / 0.536 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.1539, allocations: 66.09 kB / 0.5361 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.1541, allocations: 83.92 kB / 0.5362 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2063/0.3604, allocations: 2.662 MB / 0.5388 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.3604, allocations: 8.469 kB / 0.5388 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3605, allocations: 37.67 kB / 0.5388 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005261/0.361, allocations: 385.5 kB / 0.5392 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004985/0.366, allocations: 2.358 MB / 0.5415 GB, free: 27.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.3733, allocations: 8.217 MB / 0.5495 GB, free: 22.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.3768, allocations: 0.9411 MB / 0.5504 GB, free: 22.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.3771, allocations: 239.8 kB / 0.5507 GB, free: 22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.3781, allocations: 0.62 MB / 0.5513 GB, free: 21.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3782, allocations: 37.48 kB / 0.5513 GB, free: 21.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.3782, allocations: 0 / 0.5513 GB, free: 21.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01102/0.3892, allocations: 2.96 MB / 0.5542 GB, free: 21.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3892, allocations: 61.81 kB / 0.5542 GB, free: 21.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3906, allocations: 0.9107 MB / 0.5551 GB, free: 20.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3906, allocations: 34.8 kB / 0.5552 GB, free: 20.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.391, allocations: 0.6792 MB / 0.5558 GB, free: 20.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3912, allocations: 230.3 kB / 0.5561 GB, free: 20.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.3915, allocations: 245.6 kB / 0.5563 GB, free: 19.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3917, allocations: 400.2 kB / 0.5567 GB, free: 19.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.3923, allocations: 372.6 kB / 0.557 GB, free: 19.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.3932, allocations: 0.9962 MB / 0.558 GB, free: 18.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.3949, allocations: 1.49 MB / 0.5595 GB, free: 17.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.3949, allocations: 6.531 kB / 0.5595 GB, free: 17.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00228/0.3972, allocations: 1.401 MB / 0.5608 GB, free: 16.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.3973, allocations: 15.47 kB / 0.5608 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.3973, allocations: 29.72 kB / 0.5609 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.805e-05/0.3974, allocations: 30.53 kB / 0.5609 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3986, allocations: 320.1 kB / 0.5612 GB, free: 16.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008042/0.3994, allocations: 1.345 MB / 0.5625 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.4001, allocations: 55.11 kB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.4002, allocations: 66 kB / 0.5626 GB, free: 15.31 MB / 414.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.0007955/0.401, allocations: 0.5013 MB / 0.5631 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.4012, allocations: 90.08 kB / 0.5632 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.4014, allocations: 116.9 kB / 0.5633 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4014, allocations: 5.531 kB / 0.5633 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.4015, allocations: 6.312 kB / 0.5633 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4015, allocations: 3.422 kB / 0.5633 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.4049, allocations: 2.149 MB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.405, allocations: 9.469 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.4054, allocations: 125.2 kB / 0.5656 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.4055, allocations: 9.625 kB / 0.5656 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.4055, allocations: 18.28 kB / 0.5656 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005623/0.4061, allocations: 1.322 MB / 0.5669 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4061, allocations: 6.031 kB / 0.5669 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.4069, allocations: 0.8364 MB / 0.5677 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.4072, allocations: 125.8 kB / 0.5678 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.4073, allocations: 15.17 kB / 0.5678 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.4076, allocations: 22.59 kB / 0.5679 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.4077, allocations: 58.92 kB / 0.5679 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.4077, allocations: 24.25 kB / 0.5679 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007201/0.4084, allocations: 0.5971 MB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0.9375 kB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4095, allocations: 216.3 kB / 0.5687 GB, free: 11.52 MB / 414.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.001079/0.4106, allocations: 1.4 MB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.4122, allocations: 0.8467 MB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4122, allocations: 1.219 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.4127, allocations: 264.9 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.4136, allocations: 129.4 kB / 0.5713 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4254, allocations: 9.453 MB / 0.5805 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.4261, allocations: 1.227 MB / 0.5817 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.4268, allocations: 338.7 kB / 0.5821 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.4272, allocations: 409.1 kB / 0.5824 GB, free: 1.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4272, allocations: 0 / 0.5824 GB, free: 1.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.4782, allocations: 18.46 MB / 0.6005 GB, free: 0.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/18.98, allocations: 15.8 kB / 0.6005 GB, free: 0.7773 MB / 430.1 MB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 22.13476089295]