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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001748, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002241/0.002241, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.89 MB / 357.4 MB, free: 10.57 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 80.14 kB / 0.4913 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 66 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009611/0.1274, allocations: 7.623 MB / 0.5632 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005361/0.1327, allocations: 2.603 MB / 0.5657 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.1335, allocations: 31.94 kB / 0.5657 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.1356, allocations: 0.9032 MB / 0.5666 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009246/0.1366, allocations: 322.3 kB / 0.5669 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.1374, allocations: 335.2 kB / 0.5672 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1385, allocations: 0.72 MB / 0.5679 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.1395, allocations: 0.6734 MB / 0.5686 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.1401, allocations: 370.6 kB / 0.5689 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1413, allocations: 0.6817 MB / 0.5696 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.1415, allocations: 108 kB / 0.5697 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009898/0.1425, allocations: 0.542 MB / 0.5702 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.1432, allocations: 0.5025 MB / 0.5707 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.1439, allocations: 0.5593 MB / 0.5713 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.1463, allocations: 1.782 MB / 0.573 GB, free: 4.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1463, allocations: 0 / 0.573 GB, free: 4.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1463, allocations: 0 / 0.573 GB, free: 4.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.1464, allocations: 0 / 0.573 GB, free: 4.586 MB / 430.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.003913/0.1503, allocations: 1.66 MB / 0.5746 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1503, allocations: 12.03 kB / 0.5747 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003307/0.1506, allocations: 186.4 kB / 0.5748 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/0.1514, allocations: 164 kB / 0.575 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.1529, allocations: 0.6438 MB / 0.5756 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/0.153, allocations: 62.09 kB / 0.5757 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.1532, allocations: 83.97 kB / 0.5758 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.159, allocations: 2.67 MB / 0.5784 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.1591, allocations: 7.938 kB / 0.5784 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.1592, allocations: 27.98 kB / 0.5784 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005493/0.1598, allocations: 385.7 kB / 0.5788 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005716/0.1655, allocations: 2.361 MB / 0.5811 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.1774, allocations: 8.249 MB / 0.5891 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.1813, allocations: 0.9404 MB / 0.59 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.1817, allocations: 232.7 kB / 0.5903 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.1835, allocations: 1.73 MB / 0.592 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.1836, allocations: 42.56 kB / 0.592 GB, free: 348 kB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.806e-06/0.1836, allocations: 0 / 0.592 GB, free: 348 kB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.2395/0.4231, allocations: 2.957 MB / 0.5949 GB, free: 36.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.4231, allocations: 61.34 kB / 0.5949 GB, free: 36.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4245, allocations: 0.8951 MB / 0.5958 GB, free: 36.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.4246, allocations: 36.3 kB / 0.5959 GB, free: 36.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.425, allocations: 0.6836 MB / 0.5965 GB, free: 36.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.4252, allocations: 219.9 kB / 0.5967 GB, free: 35.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.4255, allocations: 252.4 kB / 0.597 GB, free: 35.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4257, allocations: 400.6 kB / 0.5974 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.4263, allocations: 373.2 kB / 0.5977 GB, free: 35.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.4271, allocations: 0.9908 MB / 0.5987 GB, free: 34.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.4286, allocations: 1.498 MB / 0.6001 GB, free: 33.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.4287, allocations: 6.812 kB / 0.6001 GB, free: 33.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002387/0.431, allocations: 1.398 MB / 0.6015 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.4311, allocations: 15.36 kB / 0.6015 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.4311, allocations: 22.16 kB / 0.6015 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.118e-05/0.4312, allocations: 33.5 kB / 0.6016 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4325, allocations: 323.5 kB / 0.6019 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.4332, allocations: 1.453 MB / 0.6033 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.4341, allocations: 54.25 kB / 0.6034 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4342, allocations: 65.06 kB / 0.6034 GB, free: 31.36 MB / 446.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.0006598/0.4348, allocations: 0.5008 MB / 0.6039 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.435, allocations: 94.22 kB / 0.604 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.4352, allocations: 115.3 kB / 0.6041 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4352, allocations: 10.03 kB / 0.6041 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4352, allocations: 1.156 kB / 0.6041 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4352, allocations: 3.328 kB / 0.6041 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.4391, allocations: 2.163 MB / 0.6062 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.4391, allocations: 6 kB / 0.6062 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.4397, allocations: 127 kB / 0.6064 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.4397, allocations: 7.656 kB / 0.6064 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.4397, allocations: 17.88 kB / 0.6064 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006456/0.4404, allocations: 1.426 MB / 0.6078 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.4404, allocations: 15.25 kB / 0.6078 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.4413, allocations: 0.833 MB / 0.6086 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4415, allocations: 172.9 kB / 0.6088 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4416, allocations: 20.42 kB / 0.6088 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.442, allocations: 16.7 kB / 0.6088 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.4421, allocations: 53.91 kB / 0.6089 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.4421, allocations: 23.89 kB / 0.6089 GB, free: 27.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.4429, allocations: 0.5928 MB / 0.6095 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 0.6095 GB, free: 27.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001313/0.4442, allocations: 215.1 kB / 0.6097 GB, free: 27.34 MB / 446.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.001197/0.4454, allocations: 1.398 MB / 0.611 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.447, allocations: 0.8448 MB / 0.6119 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.447, allocations: 1 kB / 0.6119 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.4474, allocations: 269.7 kB / 0.6121 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.4484, allocations: 125.2 kB / 0.6122 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.462, allocations: 9.419 MB / 0.6214 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/0.4629, allocations: 1.22 MB / 0.6226 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008896/0.4638, allocations: 341.3 kB / 0.6229 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.4643, allocations: 405.5 kB / 0.6233 GB, free: 18.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4643, allocations: 0 / 0.6233 GB, free: 18.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.5086, allocations: 17.37 MB / 0.6403 GB, free: 4.258 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/16.73, allocations: 4.969 kB / 0.6403 GB, free: 4.254 MB / 446.1 MB " [Timeout remaining time 643] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 20.07579476200044]