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.001263/0.001263, allocations: 120 kB / 18.49 MB, free: 4.566 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.001368/0.001368, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.523/1.523, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2257/0.2257, allocations: 46.92 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 83.88 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1219, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009384/0.1313, allocations: 7.634 MB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.1364, allocations: 2.599 MB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.1371, allocations: 35.88 kB / 0.5662 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.139, allocations: 0.9109 MB / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006916/0.1397, allocations: 326.2 kB / 0.5674 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.1404, allocations: 319.3 kB / 0.5677 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000852/0.1413, allocations: 0.7318 MB / 0.5684 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008367/0.1421, allocations: 0.6773 MB / 0.5691 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.1425, allocations: 362.6 kB / 0.5694 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009123/0.1434, allocations: 0.6933 MB / 0.5701 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1436, allocations: 104 kB / 0.5702 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.1444, allocations: 0.5459 MB / 0.5707 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.1449, allocations: 0.4908 MB / 0.5712 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.1455, allocations: 0.5671 MB / 0.5718 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.1474, allocations: 1.774 MB / 0.5735 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1474, allocations: 4 kB / 0.5735 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1474, allocations: 0 / 0.5735 GB, free: 3.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1474, allocations: 3.938 kB / 0.5735 GB, free: 3.668 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.003401/0.1508, allocations: 1.656 MB / 0.5751 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1508, allocations: 8.031 kB / 0.5751 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.836e-05/0.1509, allocations: 30.19 kB / 0.5752 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/0.1511, allocations: 186.4 kB / 0.5753 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.1518, allocations: 168 kB / 0.5755 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1529, allocations: 0.6321 MB / 0.5761 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.1529, allocations: 65.91 kB / 0.5762 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.1531, allocations: 83.95 kB / 0.5762 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/0.1586, allocations: 2.665 MB / 0.5789 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.1586, allocations: 11.88 kB / 0.5789 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.1587, allocations: 35.97 kB / 0.5789 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005263/0.1593, allocations: 381.7 kB / 0.5793 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.1648, allocations: 2.365 MB / 0.5816 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009259/0.174, allocations: 8.249 MB / 0.5896 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.1781, allocations: 0.9405 MB / 0.5905 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.1785, allocations: 236.7 kB / 0.5908 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2236/0.4021, allocations: 1.726 MB / 0.5925 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4021, allocations: 34.38 kB / 0.5925 GB, free: 35.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.475e-06/0.4021, allocations: 0.5312 kB / 0.5925 GB, free: 35.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01214/0.4143, allocations: 2.963 MB / 0.5954 GB, free: 35.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.4143, allocations: 59.41 kB / 0.5954 GB, free: 35.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4155, allocations: 0.8996 MB / 0.5963 GB, free: 34.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.4155, allocations: 34.55 kB / 0.5963 GB, free: 34.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.4159, allocations: 0.681 MB / 0.597 GB, free: 34.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.416, allocations: 225.5 kB / 0.5972 GB, free: 34.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.4163, allocations: 246.8 kB / 0.5975 GB, free: 34.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4164, allocations: 398.9 kB / 0.5978 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.417, allocations: 369.4 kB / 0.5982 GB, free: 34.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.4177, allocations: 0.997 MB / 0.5992 GB, free: 33.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.4191, allocations: 1.494 MB / 0.6006 GB, free: 32.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4191, allocations: 6.844 kB / 0.6006 GB, free: 32.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002089/0.4212, allocations: 1.406 MB / 0.602 GB, free: 31.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4212, allocations: 20.94 kB / 0.602 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.4213, allocations: 22.59 kB / 0.6021 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-05/0.4213, allocations: 34.22 kB / 0.6021 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4225, allocations: 323.7 kB / 0.6024 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000695/0.4232, allocations: 1.45 MB / 0.6038 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.424, allocations: 51.67 kB / 0.6039 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.424, allocations: 64.53 kB / 0.6039 GB, free: 30.09 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.000551/0.4246, allocations: 0.499 MB / 0.6044 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4247, allocations: 90.64 kB / 0.6045 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.4249, allocations: 114.9 kB / 0.6046 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4249, allocations: 5.531 kB / 0.6046 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4249, allocations: 0 / 0.6046 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4249, allocations: 1.875 kB / 0.6046 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.4282, allocations: 2.173 MB / 0.6067 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.4282, allocations: 9.312 kB / 0.6067 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.4288, allocations: 128.2 kB / 0.6069 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.4288, allocations: 9.781 kB / 0.6069 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.4288, allocations: 19.55 kB / 0.6069 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005362/0.4293, allocations: 1.421 MB / 0.6083 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4294, allocations: 8.188 kB / 0.6083 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.4301, allocations: 0.8328 MB / 0.6091 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.4303, allocations: 175.5 kB / 0.6093 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.4304, allocations: 18.39 kB / 0.6093 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.4307, allocations: 18.22 kB / 0.6093 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.4308, allocations: 53.59 kB / 0.6094 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.4308, allocations: 28.31 kB / 0.6094 GB, free: 26.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007752/0.4316, allocations: 0.5935 MB / 0.61 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4316, allocations: 0 / 0.61 GB, free: 26.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001053/0.4326, allocations: 214.6 kB / 0.6102 GB, free: 26.07 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.001/0.4336, allocations: 1.404 MB / 0.6115 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.435, allocations: 0.8414 MB / 0.6124 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.435, allocations: 5.562 kB / 0.6124 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.4354, allocations: 266.7 kB / 0.6126 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.4362, allocations: 127.3 kB / 0.6127 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4468, allocations: 9.407 MB / 0.6219 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.4475, allocations: 1.218 MB / 0.6231 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007622/0.4483, allocations: 340.5 kB / 0.6234 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.4487, allocations: 407.2 kB / 0.6238 GB, free: 17.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4487, allocations: 4 kB / 0.6238 GB, free: 17.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.4827, allocations: 17.41 MB / 0.6408 GB, free: 2.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.45, allocations: 11.86 kB / 0.6408 GB, free: 2.719 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.898994557966944]