Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001335/0.001335, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001441/0.001441, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.96 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 66.03 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008985/0.3133, allocations: 6.69 MB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.3186, allocations: 2.447 MB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008932/0.3195, allocations: 35.88 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.3215, allocations: 0.8682 MB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.3224, allocations: 318.3 kB / 0.5715 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.3232, allocations: 327.2 kB / 0.5718 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3243, allocations: 0.7279 MB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.3252, allocations: 0.6422 MB / 0.5731 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.3257, allocations: 370.6 kB / 0.5735 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.3268, allocations: 0.6855 MB / 0.5741 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.327, allocations: 108 kB / 0.5742 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009084/0.3279, allocations: 0.5148 MB / 0.5747 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.3285, allocations: 0.5025 MB / 0.5752 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.329, allocations: 453.5 kB / 0.5757 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.3312, allocations: 1.794 MB / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3312, allocations: 0 / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3312, allocations: 0 / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.337e-05/0.3312, allocations: 3.938 kB / 0.5774 GB, free: 3.656 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.003587/0.3348, allocations: 1.581 MB / 0.579 GB, free: 2.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3348, allocations: 12.03 kB / 0.579 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.102e-05/0.3349, allocations: 26.19 kB / 0.579 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.3351, allocations: 182.5 kB / 0.5792 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.3358, allocations: 168 kB / 0.5793 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.337, allocations: 0.5756 MB / 0.5799 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.3371, allocations: 61.91 kB / 0.58 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.3373, allocations: 83.91 kB / 0.58 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005492/0.3428, allocations: 2.665 MB / 0.5826 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.3428, allocations: 7.938 kB / 0.5826 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3429, allocations: 39.97 kB / 0.5827 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005274/0.3434, allocations: 389.7 kB / 0.5831 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/0.349, allocations: 2.361 MB / 0.5854 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.3591, allocations: 7.901 MB / 0.5931 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.363, allocations: 0.9371 MB / 0.594 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.3634, allocations: 232.7 kB / 0.5942 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.3645, allocations: 0.62 MB / 0.5948 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3646, allocations: 34.56 kB / 0.5949 GB, free: 1.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 3.076e-06/0.3646, allocations: 4 kB / 0.5949 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01201/0.3766, allocations: 2.964 MB / 0.5978 GB, free: 14.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3766, allocations: 55.91 kB / 0.5978 GB, free: 14.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3778, allocations: 0.8953 MB / 0.5987 GB, free: 13.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.3779, allocations: 41.7 kB / 0.5987 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.3784, allocations: 0.6783 MB / 0.5994 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.3786, allocations: 226.2 kB / 0.5996 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.379, allocations: 246.8 kB / 0.5998 GB, free: 12.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.3792, allocations: 402.7 kB / 0.6002 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.3799, allocations: 366.4 kB / 0.6006 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.381, allocations: 0.9991 MB / 0.6015 GB, free: 10.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.383, allocations: 1.49 MB / 0.603 GB, free: 8.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.383, allocations: 7.938 kB / 0.603 GB, free: 8.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002252/0.3853, allocations: 1.407 MB / 0.6044 GB, free: 6.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.3853, allocations: 12 kB / 0.6044 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.3853, allocations: 24 kB / 0.6044 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.45e-05/0.3854, allocations: 28 kB / 0.6044 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3866, allocations: 324.1 kB / 0.6047 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.3878, allocations: 1.355 MB / 0.6061 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.3886, allocations: 51.94 kB / 0.6061 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.3886, allocations: 68 kB / 0.6062 GB, free: 4.891 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.000676/0.3893, allocations: 0.501 MB / 0.6067 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3895, allocations: 91.39 kB / 0.6068 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3896, allocations: 116.5 kB / 0.6069 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3896, allocations: 4 kB / 0.6069 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3896, allocations: 0 / 0.6069 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3897, allocations: 11.92 kB / 0.6069 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.3934, allocations: 2.058 MB / 0.6089 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.3934, allocations: 4 kB / 0.6089 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.3939, allocations: 124.6 kB / 0.609 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.3939, allocations: 12 kB / 0.609 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.394, allocations: 16 kB / 0.609 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.395, allocations: 1.328 MB / 0.6103 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.3951, allocations: 8 kB / 0.6104 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3962, allocations: 0.8374 MB / 0.6112 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3964, allocations: 87.42 kB / 0.6113 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.3965, allocations: 23.94 kB / 0.6113 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3968, allocations: 19.98 kB / 0.6113 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.3969, allocations: 59.75 kB / 0.6114 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.397, allocations: 20 kB / 0.6114 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007997/0.3978, allocations: 0.5966 MB / 0.612 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3978, allocations: 0 / 0.612 GB, free: 14.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3988, allocations: 216 kB / 0.6122 GB, free: 14.41 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.001542/0.4003, allocations: 1.402 MB / 0.6135 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.4019, allocations: 0.8421 MB / 0.6144 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4019, allocations: 0.8125 kB / 0.6144 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.4023, allocations: 271.6 kB / 0.6146 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.4032, allocations: 131 kB / 0.6147 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.4166, allocations: 9.428 MB / 0.6239 GB, free: 1.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.4174, allocations: 0.6282 MB / 0.6246 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008799/0.4183, allocations: 339.6 kB / 0.6249 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.4189, allocations: 399.4 kB / 0.6253 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4189, allocations: 0 / 0.6253 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.4649, allocations: 18.19 MB / 0.643 GB, free: 14.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.22/19.69, allocations: 11.88 kB / 0.643 GB, free: 14.09 MB / 494.1 MB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 23.097783442004584]