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.00128/0.00128, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001405/0.001405, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.415/1.415, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2165/0.2165, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002267/0.002267, allocations: 75.89 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2694, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00909/0.2785, allocations: 7.65 MB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.2835, allocations: 2.611 MB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.2843, allocations: 39.88 kB / 0.5716 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2862, allocations: 0.9187 MB / 0.5725 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.2869, allocations: 322.3 kB / 0.5728 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.2876, allocations: 323.2 kB / 0.5731 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.2885, allocations: 0.7279 MB / 0.5738 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.2893, allocations: 0.65 MB / 0.5744 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.2897, allocations: 366.6 kB / 0.5748 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009437/0.2907, allocations: 0.6894 MB / 0.5754 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.2908, allocations: 104 kB / 0.5755 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.2916, allocations: 0.5382 MB / 0.5761 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.2921, allocations: 0.5064 MB / 0.5766 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005274/0.2926, allocations: 0.5632 MB / 0.5771 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.2945, allocations: 1.782 MB / 0.5788 GB, free: 2.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2945, allocations: 4 kB / 0.5789 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2945, allocations: 0 / 0.5789 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.2946, allocations: 0 / 0.5789 GB, free: 2.449 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.003199/0.2978, allocations: 1.577 MB / 0.5804 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2978, allocations: 12.03 kB / 0.5804 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.023e-05/0.2978, allocations: 26.19 kB / 0.5804 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.298, allocations: 182.5 kB / 0.5806 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00067/0.2987, allocations: 172 kB / 0.5808 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2998, allocations: 0.5718 MB / 0.5813 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.2999, allocations: 65.83 kB / 0.5814 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.3, allocations: 83.89 kB / 0.5815 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.3051, allocations: 2.669 MB / 0.5841 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.3052, allocations: 11.92 kB / 0.5841 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.3053, allocations: 35.97 kB / 0.5841 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000506/0.3058, allocations: 381.7 kB / 0.5845 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.311, allocations: 2.361 MB / 0.5868 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008876/0.3199, allocations: 8.213 MB / 0.5948 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.3237, allocations: 0.9405 MB / 0.5957 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.3241, allocations: 236.7 kB / 0.596 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.3252, allocations: 0.6243 MB / 0.5966 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3252, allocations: 34.67 kB / 0.5966 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 4.138e-06/0.3252, allocations: 11.92 kB / 0.5966 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01153/0.3367, allocations: 2.963 MB / 0.5995 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3368, allocations: 55.91 kB / 0.5996 GB, free: 12.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3379, allocations: 0.8992 MB / 0.6004 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.338, allocations: 33.7 kB / 0.6005 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.3385, allocations: 0.6822 MB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.3386, allocations: 218.2 kB / 0.6013 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.339, allocations: 246.8 kB / 0.6016 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3392, allocations: 406.7 kB / 0.602 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.3397, allocations: 370.4 kB / 0.6023 GB, free: 9.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3408, allocations: 0.9952 MB / 0.6033 GB, free: 8.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3426, allocations: 1.494 MB / 0.6047 GB, free: 6.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.3426, allocations: 4 kB / 0.6048 GB, free: 6.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002131/0.3448, allocations: 1.395 MB / 0.6061 GB, free: 5.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.3448, allocations: 22.12 kB / 0.6061 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.3448, allocations: 24 kB / 0.6062 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.3449, allocations: 28 kB / 0.6062 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.346, allocations: 324.1 kB / 0.6065 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3472, allocations: 1.358 MB / 0.6078 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.3478, allocations: 51.94 kB / 0.6079 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.3479, allocations: 64 kB / 0.6079 GB, free: 3.371 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.0006534/0.3486, allocations: 0.4971 MB / 0.6084 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3487, allocations: 91.39 kB / 0.6085 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.3489, allocations: 116.5 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3489, allocations: 4 kB / 0.6086 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3489, allocations: 0 / 0.6086 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3489, allocations: 11.92 kB / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.3525, allocations: 2.127 MB / 0.6107 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.3525, allocations: 8.812 kB / 0.6107 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.353, allocations: 131.8 kB / 0.6108 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.353, allocations: 8 kB / 0.6108 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.353, allocations: 19.98 kB / 0.6109 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/0.354, allocations: 1.32 MB / 0.6122 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.354, allocations: 8 kB / 0.6122 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.355, allocations: 0.8334 MB / 0.613 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3551, allocations: 91.42 kB / 0.6131 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/0.3552, allocations: 23.92 kB / 0.6131 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3556, allocations: 20 kB / 0.6131 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.3556, allocations: 59.8 kB / 0.6132 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3557, allocations: 19.94 kB / 0.6132 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007892/0.3565, allocations: 0.5966 MB / 0.6138 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 4 kB / 0.6138 GB, free: 13.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.3574, allocations: 212 kB / 0.614 GB, free: 12.83 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.00138/0.3588, allocations: 1.404 MB / 0.6153 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3602, allocations: 0.8461 MB / 0.6162 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.3602, allocations: 4 kB / 0.6162 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.3606, allocations: 268.5 kB / 0.6164 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.3614, allocations: 115.7 kB / 0.6165 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.3738, allocations: 9.428 MB / 0.6257 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.3748, allocations: 1.224 MB / 0.6269 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007976/0.3756, allocations: 343.6 kB / 0.6273 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.3761, allocations: 407.2 kB / 0.6277 GB, free: 13.79 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3761, allocations: 0 / 0.6277 GB, free: 13.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.4183, allocations: 18.42 MB / 0.6456 GB, free: 11.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.03, allocations: 15.14 kB / 0.6457 GB, free: 11.52 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: 22.3283182970481]