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.001753/0.001753, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002236/0.002236, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2202/0.2202, allocations: 46.95 MB / 361.6 MB, free: 3.961 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.002219/0.002219, allocations: 79.88 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.275, allocations: 66.07 MB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008973/0.2839, allocations: 6.694 MB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.2886, allocations: 2.442 MB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.289, allocations: 35.88 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.2909, allocations: 0.8721 MB / 0.5712 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.2915, allocations: 322.3 kB / 0.5716 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.2922, allocations: 327.3 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.293, allocations: 0.7278 MB / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000814/0.2938, allocations: 0.6423 MB / 0.5732 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.2942, allocations: 370.6 kB / 0.5736 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/0.2951, allocations: 0.6933 MB / 0.5742 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.2953, allocations: 108 kB / 0.5743 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.2961, allocations: 0.507 MB / 0.5748 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.2966, allocations: 0.5064 MB / 0.5753 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.297, allocations: 441.5 kB / 0.5757 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.2989, allocations: 1.798 MB / 0.5775 GB, free: 3.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2989, allocations: 4 kB / 0.5775 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2989, allocations: 0 / 0.5775 GB, free: 3.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2989, allocations: 4 kB / 0.5775 GB, free: 3.543 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.003071/0.302, allocations: 1.581 MB / 0.5791 GB, free: 1.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.302, allocations: 8.031 kB / 0.5791 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.14e-05/0.3021, allocations: 30.19 kB / 0.5791 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.3023, allocations: 182.5 kB / 0.5793 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.303, allocations: 168 kB / 0.5794 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.304, allocations: 0.5756 MB / 0.58 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.304, allocations: 61.91 kB / 0.58 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.3042, allocations: 83.95 kB / 0.5801 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.3093, allocations: 2.669 MB / 0.5827 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3094, allocations: 7.938 kB / 0.5827 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3095, allocations: 31.97 kB / 0.5828 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005128/0.31, allocations: 385.7 kB / 0.5831 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005146/0.3151, allocations: 2.369 MB / 0.5855 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008658/0.3238, allocations: 7.901 MB / 0.5932 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.3274, allocations: 0.9409 MB / 0.5941 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.3278, allocations: 236.7 kB / 0.5943 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.3289, allocations: 0.6161 MB / 0.5949 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.3289, allocations: 42.59 kB / 0.595 GB, free: 1.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.364e-06/0.3289, allocations: 0 / 0.595 GB, free: 1.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01133/0.3403, allocations: 2.963 MB / 0.5978 GB, free: 14.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.3403, allocations: 67.84 kB / 0.5979 GB, free: 14.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3415, allocations: 0.8875 MB / 0.5988 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.3415, allocations: 33.7 kB / 0.5988 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.342, allocations: 0.6861 MB / 0.5995 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3422, allocations: 222.2 kB / 0.5997 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.3426, allocations: 246.8 kB / 0.5999 GB, free: 12.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3428, allocations: 402.7 kB / 0.6003 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.3434, allocations: 370.4 kB / 0.6007 GB, free: 11.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.3445, allocations: 0.9913 MB / 0.6016 GB, free: 9.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.3463, allocations: 1.494 MB / 0.6031 GB, free: 8.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.3463, allocations: 8 kB / 0.6031 GB, free: 8.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002113/0.3484, allocations: 1.395 MB / 0.6045 GB, free: 6.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3484, allocations: 20.91 kB / 0.6045 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.3484, allocations: 20 kB / 0.6045 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.066e-05/0.3485, allocations: 36 kB / 0.6045 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3497, allocations: 319.5 kB / 0.6048 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3508, allocations: 1.346 MB / 0.6062 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.3514, allocations: 60.08 kB / 0.6062 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/0.3515, allocations: 67.94 kB / 0.6063 GB, free: 4.781 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.000636/0.3521, allocations: 0.4893 MB / 0.6068 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3523, allocations: 91.39 kB / 0.6068 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3525, allocations: 112.5 kB / 0.607 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3525, allocations: 8 kB / 0.607 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3525, allocations: 4 kB / 0.607 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3525, allocations: 11.91 kB / 0.607 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.356, allocations: 2.058 MB / 0.609 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.356, allocations: 8 kB / 0.609 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.3566, allocations: 127.9 kB / 0.6091 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3566, allocations: 8 kB / 0.6091 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.3566, allocations: 19.98 kB / 0.6091 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.3577, allocations: 1.32 MB / 0.6104 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.3577, allocations: 16.09 kB / 0.6104 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3587, allocations: 0.8333 MB / 0.6113 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3589, allocations: 91.36 kB / 0.6113 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.359, allocations: 19.92 kB / 0.6114 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3593, allocations: 16 kB / 0.6114 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.3594, allocations: 59.8 kB / 0.6114 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3594, allocations: 24 kB / 0.6115 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.3602, allocations: 0.5927 MB / 0.612 GB, free: 14.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3602, allocations: 0 / 0.612 GB, free: 14.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.3611, allocations: 216 kB / 0.6122 GB, free: 14.31 MB / 462.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.001379/0.3625, allocations: 1.401 MB / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3639, allocations: 0.839 MB / 0.6144 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3639, allocations: 4 kB / 0.6144 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.3644, allocations: 265.1 kB / 0.6147 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.3652, allocations: 126.6 kB / 0.6148 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.3773, allocations: 9.432 MB / 0.624 GB, free: 1.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.3781, allocations: 0.6281 MB / 0.6246 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007723/0.3789, allocations: 343.6 kB / 0.625 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.3794, allocations: 407.3 kB / 0.6253 GB, free: 15.86 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3794, allocations: 0 / 0.6253 GB, free: 15.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4226, allocations: 18.19 MB / 0.6431 GB, free: 13.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/18.69, allocations: 8 kB / 0.6431 GB, free: 13.92 MB / 494.1 MB " [Timeout remaining time 641] (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: 21.966729142004624]