Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001857/0.001857, allocations: 123 kB / 17.79 MB, free: 5.246 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.002366/0.002366, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.91 MB / 355.1 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1422, allocations: 65.42 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01655/0.1588, allocations: 13.57 MB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.1687, allocations: 4.19 MB / 0.5691 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.1713, allocations: 75.75 kB / 0.5692 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.1755, allocations: 1.845 MB / 0.571 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.1812, allocations: 1.856 MB / 0.5728 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.183, allocations: 0.5536 MB / 0.5733 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006738/0.1897, allocations: 3.896 MB / 0.5771 GB, free: 76 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004484/0.1942, allocations: 2.314 MB / 0.5794 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.1972, allocations: 1.394 MB / 0.5808 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.2012, allocations: 2.13 MB / 0.5828 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.2024, allocations: 295.9 kB / 0.5831 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.2052, allocations: 1.026 MB / 0.5841 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.2076, allocations: 1.792 MB / 0.5859 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003521/0.2111, allocations: 2.096 MB / 0.5879 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3336/0.5447, allocations: 6.912 MB / 0.5947 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5447, allocations: 0.8438 kB / 0.5947 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5447, allocations: 6.094 kB / 0.5947 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000291/0.545, allocations: 0.6562 kB / 0.5947 GB, free: 13.39 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.01435/0.5593, allocations: 4.656 MB / 0.5992 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5594, allocations: 9.312 kB / 0.5992 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002632/0.562, allocations: 0.7632 MB / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.5755, allocations: 3.152 MB / 0.6031 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/0.5835, allocations: 2.358 MB / 0.6054 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.5838, allocations: 213.2 kB / 0.6056 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/0.5859, allocations: 296.7 kB / 0.6058 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.6078, allocations: 11.11 MB / 0.6167 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.608, allocations: 27.27 kB / 0.6167 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006684/0.6086, allocations: 131.4 kB / 0.6168 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005096/0.6137, allocations: 2.618 MB / 0.6194 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.6338, allocations: 10.38 MB / 0.6295 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06771/0.7015, allocations: 36.55 MB / 0.6652 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.7167, allocations: 4.39 MB / 0.6695 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005377/0.7221, allocations: 2.22 MB / 0.6717 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.7239, allocations: 1.317 MB / 0.673 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.7239, allocations: 60.5 kB / 0.673 GB, free: 5.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.981e-06/0.724, allocations: 0 / 0.673 GB, free: 5.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.06865/0.7926, allocations: 17.65 MB / 0.6903 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.7927, allocations: 73.39 kB / 0.6903 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00728/0.8, allocations: 2.752 MB / 0.693 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007049/0.8007, allocations: 60.36 kB / 0.6931 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004036/0.8047, allocations: 2.889 MB / 0.6959 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/0.8067, allocations: 0.9565 MB / 0.6968 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004087/0.8107, allocations: 1.075 MB / 0.6979 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.8109, allocations: 305.1 kB / 0.6982 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006379/0.8173, allocations: 2.302 MB / 0.7004 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/0.8274, allocations: 5.219 MB / 0.7055 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/0.8421, allocations: 8.252 MB / 0.7136 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/0.8423, allocations: 28 kB / 0.7136 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0191/0.8614, allocations: 8.278 MB / 0.7217 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.8615, allocations: 48 kB / 0.7217 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/0.8617, allocations: 108.5 kB / 0.7218 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.8653, allocations: 0.9333 MB / 0.7228 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/0.8703, allocations: 1.22 MB / 0.7239 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.8788, allocations: 5.141 MB / 0.729 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.883, allocations: 299.8 kB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/0.8842, allocations: 311 kB / 0.7295 GB, free: 9.953 MB / 0.545 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.005182/0.8894, allocations: 2.148 MB / 0.7316 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.8902, allocations: 294 kB / 0.7319 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.9008, allocations: 5.121 MB / 0.7369 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.972e-05/0.9009, allocations: 43.98 kB / 0.737 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.9009, allocations: 4.766 kB / 0.737 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-05/0.9009, allocations: 11.95 kB / 0.737 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/0.9264, allocations: 11.86 MB / 0.7486 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.9264, allocations: 12 kB / 0.7486 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.9284, allocations: 395.4 kB / 0.749 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.9311, allocations: 0.771 MB / 0.7497 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/0.9316, allocations: 55.97 kB / 0.7498 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006616/0.9382, allocations: 4.386 MB / 0.754 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/0.9382, allocations: 19.94 kB / 0.7541 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.9523, allocations: 7.635 MB / 0.7615 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/0.9532, allocations: 339.2 kB / 0.7618 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007439/0.9539, allocations: 48 kB / 0.7619 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.9556, allocations: 147.8 kB / 0.762 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/0.9561, allocations: 156.9 kB / 0.7622 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/0.9563, allocations: 71.44 kB / 0.7623 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003246/0.9596, allocations: 1.689 MB / 0.7639 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9596, allocations: 0 / 0.7639 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005494/0.9651, allocations: 0.9647 MB / 0.7648 GB, free: 5.316 MB / 0.5762 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.0145/0.9796, allocations: 8.297 MB / 0.7729 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.9905, allocations: 5.415 MB / 0.7782 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.9906, allocations: 4 kB / 0.7782 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.9942, allocations: 1.995 MB / 0.7802 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.9968, allocations: 404.3 kB / 0.7806 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07754/1.074, allocations: 42.24 MB / 0.8218 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/1.081, allocations: 3.375 MB / 0.8251 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005225/1.086, allocations: 1.976 MB / 0.827 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004126/1.09, allocations: 1.845 MB / 0.8288 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.454e-06/1.09, allocations: 0 / 0.8288 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4243/1.514, allocations: 60.04 MB / 0.8875 GB, free: 224.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.05/24.56, allocations: 16.11 kB / 0.8875 GB, free: 224 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 27.89712079614401]