Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.00127/0.00127, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001445/0.001445, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8 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.2359/0.2359, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 59.91 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3717, allocations: 66.05 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01662/0.3883, allocations: 13.58 MB / 0.5739 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3986, allocations: 4.219 MB / 0.578 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.4015, allocations: 79.69 kB / 0.5781 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004946/0.4065, allocations: 1.849 MB / 0.5799 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.4133, allocations: 1.868 MB / 0.5818 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.4154, allocations: 0.542 MB / 0.5823 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007052/0.4225, allocations: 3.897 MB / 0.5861 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.427, allocations: 2.293 MB / 0.5883 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.43, allocations: 1.394 MB / 0.5897 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.434, allocations: 2.138 MB / 0.5918 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.4353, allocations: 292 kB / 0.5921 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.4385, allocations: 1.022 MB / 0.5931 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.4415, allocations: 1.788 MB / 0.5948 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004404/0.4459, allocations: 2.1 MB / 0.5969 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4569, allocations: 6.92 MB / 0.6036 GB, free: 8.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4569, allocations: 7.938 kB / 0.6036 GB, free: 8.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4569, allocations: 0 / 0.6036 GB, free: 8.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003072/0.4572, allocations: 0 / 0.6036 GB, free: 8.281 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01243/0.4697, allocations: 4.581 MB / 0.6081 GB, free: 3.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4697, allocations: 8.031 kB / 0.6081 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001949/0.4717, allocations: 0.7619 MB / 0.6088 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.4829, allocations: 3.149 MB / 0.6119 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/0.4883, allocations: 2.287 MB / 0.6141 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.4885, allocations: 225.5 kB / 0.6144 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.4896, allocations: 283.8 kB / 0.6146 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.5103, allocations: 11.11 MB / 0.6255 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.5105, allocations: 27.77 kB / 0.6255 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007583/0.5112, allocations: 135.8 kB / 0.6256 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004724/0.5159, allocations: 2.62 MB / 0.6282 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.5388, allocations: 10.38 MB / 0.6383 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06659/0.6054, allocations: 36.4 MB / 0.6739 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00978/0.6152, allocations: 3.476 MB / 0.6773 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/0.6191, allocations: 2.217 MB / 0.6794 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.6201, allocations: 457.1 kB / 0.6799 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.6202, allocations: 56.56 kB / 0.6799 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.019e-06/0.6202, allocations: 3.938 kB / 0.6799 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04518/0.6653, allocations: 17.42 MB / 0.697 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.6654, allocations: 77.41 kB / 0.697 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00501/0.6704, allocations: 2.747 MB / 0.6997 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005209/0.671, allocations: 57.7 kB / 0.6998 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.6737, allocations: 2.882 MB / 0.7026 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.6751, allocations: 0.961 MB / 0.7035 GB, free: 352 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002984/0.6781, allocations: 1.073 MB / 0.7046 GB, free: 15.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6783, allocations: 305.1 kB / 0.7049 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/0.6825, allocations: 2.306 MB / 0.7071 GB, free: 12.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007517/0.69, allocations: 5.21 MB / 0.7122 GB, free: 6.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/0.7022, allocations: 8.265 MB / 0.7203 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/0.7023, allocations: 28 kB / 0.7203 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01883/0.7212, allocations: 8.287 MB / 0.7284 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.7213, allocations: 48 kB / 0.7284 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001958/0.7215, allocations: 104 kB / 0.7285 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/0.7246, allocations: 0.9413 MB / 0.7295 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.7292, allocations: 1.217 MB / 0.7306 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2962/1.025, allocations: 5.027 MB / 0.7355 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.03, allocations: 303.8 kB / 0.7358 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.031, allocations: 310.4 kB / 0.7361 GB, free: 149.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (653): * Single equations (assignments): 646 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004213/1.035, allocations: 2.15 MB / 0.7382 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.036, allocations: 293.2 kB / 0.7385 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/1.044, allocations: 5.116 MB / 0.7435 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.217e-05/1.044, allocations: 50.81 kB / 0.7436 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.044, allocations: 1.406 kB / 0.7436 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/1.044, allocations: 11.11 kB / 0.7436 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/1.068, allocations: 11.83 MB / 0.7551 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/1.068, allocations: 8 kB / 0.7551 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.07, allocations: 400.6 kB / 0.7555 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/1.072, allocations: 0.7835 MB / 0.7563 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005976/1.073, allocations: 48 kB / 0.7563 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/1.078, allocations: 4.284 MB / 0.7605 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.078, allocations: 15.94 kB / 0.7605 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.089, allocations: 7.632 MB / 0.768 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/1.089, allocations: 264.8 kB / 0.7682 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/1.09, allocations: 44 kB / 0.7683 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.092, allocations: 151.7 kB / 0.7684 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/1.092, allocations: 160 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/1.092, allocations: 75.81 kB / 0.7686 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002526/1.095, allocations: 1.693 MB / 0.7703 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/1.095, allocations: 1.688 kB / 0.7703 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004493/1.099, allocations: 0.9572 MB / 0.7712 GB, free: 126.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/1.111, allocations: 8.289 MB / 0.7793 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007848/1.119, allocations: 5.412 MB / 0.7846 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.119, allocations: 4 kB / 0.7846 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.122, allocations: 2.005 MB / 0.7866 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.125, allocations: 408.9 kB / 0.787 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06576/1.191, allocations: 42.36 MB / 0.8283 GB, free: 63.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/1.195, allocations: 3.378 MB / 0.8316 GB, free: 60.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004188/1.199, allocations: 1.97 MB / 0.8336 GB, free: 58.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002833/1.202, allocations: 1.839 MB / 0.8354 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.202, allocations: 0 / 0.8354 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.312, allocations: 64.58 MB / 0.8984 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.32/26.63, allocations: 7.578 kB / 0.8984 GB, free: 8.234 MB / 0.5762 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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: 29.780130280996673]