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.001315/0.001315, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001562/0.001562, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2251/0.2251, allocations: 46.96 MB / 360.9 MB, free: 4.152 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.91 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008839/0.3345, allocations: 6.737 MB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.3394, allocations: 2.443 MB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.34, allocations: 39.88 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.3418, allocations: 0.8759 MB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.3426, allocations: 322.3 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.3433, allocations: 319.3 kB / 0.5711 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000886/0.3442, allocations: 0.7278 MB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.345, allocations: 0.6462 MB / 0.5724 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004285/0.3455, allocations: 366.6 kB / 0.5728 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.3465, allocations: 0.6932 MB / 0.5734 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3466, allocations: 104 kB / 0.5735 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00079/0.3474, allocations: 0.5148 MB / 0.574 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005307/0.348, allocations: 0.5026 MB / 0.5745 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.3484, allocations: 453.5 kB / 0.575 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.3504, allocations: 1.79 MB / 0.5767 GB, free: 3.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3504, allocations: 3.984 kB / 0.5767 GB, free: 3.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3504, allocations: 0 / 0.5767 GB, free: 3.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.3504, allocations: 0 / 0.5767 GB, free: 3.668 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.003087/0.3535, allocations: 1.584 MB / 0.5783 GB, free: 2.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3535, allocations: 12.03 kB / 0.5783 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.3537, allocations: 182.5 kB / 0.5784 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/0.3544, allocations: 164 kB / 0.5786 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3556, allocations: 0.5756 MB / 0.5792 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.3556, allocations: 70.08 kB / 0.5792 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.3558, allocations: 83.95 kB / 0.5793 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/0.3607, allocations: 2.665 MB / 0.5819 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.3608, allocations: 7.938 kB / 0.5819 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.3609, allocations: 35.97 kB / 0.582 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005179/0.3614, allocations: 381.7 kB / 0.5823 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/0.3663, allocations: 2.357 MB / 0.5846 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008912/0.3752, allocations: 7.897 MB / 0.5923 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.3788, allocations: 0.9409 MB / 0.5932 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3792, allocations: 232.7 kB / 0.5935 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.3803, allocations: 0.6161 MB / 0.5941 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3803, allocations: 38.56 kB / 0.5941 GB, free: 1.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.3803, allocations: 0 / 0.5941 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01133/0.3916, allocations: 2.968 MB / 0.597 GB, free: 14.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3917, allocations: 59.91 kB / 0.5971 GB, free: 14.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3929, allocations: 0.93 MB / 0.598 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.393, allocations: 37.7 kB / 0.598 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.3935, allocations: 0.6744 MB / 0.5987 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.3937, allocations: 230.1 kB / 0.5989 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.394, allocations: 246.8 kB / 0.5991 GB, free: 12.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3942, allocations: 402.7 kB / 0.5995 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.3948, allocations: 370.4 kB / 0.5999 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.3958, allocations: 0.9913 MB / 0.6008 GB, free: 10.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.3976, allocations: 1.494 MB / 0.6023 GB, free: 8.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.3976, allocations: 11.98 kB / 0.6023 GB, free: 8.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002185/0.3998, allocations: 1.4 MB / 0.6037 GB, free: 6.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3998, allocations: 16.12 kB / 0.6037 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.3999, allocations: 28 kB / 0.6037 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/0.3999, allocations: 28 kB / 0.6037 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.4011, allocations: 315.5 kB / 0.604 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.4023, allocations: 1.355 MB / 0.6054 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.403, allocations: 56.14 kB / 0.6054 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.4031, allocations: 67.94 kB / 0.6055 GB, free: 4.898 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.0006889/0.4037, allocations: 497 kB / 0.606 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4039, allocations: 95.33 kB / 0.606 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.4041, allocations: 116.5 kB / 0.6062 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4041, allocations: 4 kB / 0.6062 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4041, allocations: 8 kB / 0.6062 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4041, allocations: 3.984 kB / 0.6062 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.4077, allocations: 2.074 MB / 0.6082 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.4077, allocations: 4 kB / 0.6082 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.4082, allocations: 123.8 kB / 0.6083 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.4082, allocations: 12 kB / 0.6083 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.4083, allocations: 16 kB / 0.6083 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4093, allocations: 1.324 MB / 0.6096 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.4093, allocations: 11.92 kB / 0.6096 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4104, allocations: 0.8294 MB / 0.6105 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.4106, allocations: 91.38 kB / 0.6105 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.4107, allocations: 23.92 kB / 0.6106 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.4111, allocations: 16 kB / 0.6106 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.4112, allocations: 55.91 kB / 0.6106 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.4112, allocations: 24 kB / 0.6107 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007861/0.412, allocations: 0.5966 MB / 0.6112 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.412, allocations: 0 / 0.6112 GB, free: 14.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009949/0.413, allocations: 212 kB / 0.6114 GB, free: 14.43 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.001371/0.4144, allocations: 1.408 MB / 0.6128 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4157, allocations: 0.8424 MB / 0.6136 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4157, allocations: 0 / 0.6136 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.4162, allocations: 261 kB / 0.6139 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.4169, allocations: 125.4 kB / 0.614 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.429, allocations: 9.43 MB / 0.6232 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.4298, allocations: 0.6165 MB / 0.6238 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000783/0.4306, allocations: 347.6 kB / 0.6242 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.4311, allocations: 403.4 kB / 0.6245 GB, free: 15.99 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4311, allocations: 0 / 0.6245 GB, free: 15.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/0.4788, allocations: 18.54 MB / 0.6426 GB, free: 13.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.67, allocations: 2.578 kB / 0.6426 GB, free: 13.74 MB / 494.1 MB " [Timeout remaining time 648] (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: 14.777258615999017]