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.00166/0.00166, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002145/0.002145, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2247/0.2247, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.002091/0.002091, allocations: 63.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 65.47 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01647/0.397, allocations: 13.6 MB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.4066, allocations: 4.215 MB / 0.5744 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.4092, allocations: 79.69 kB / 0.5745 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.4134, allocations: 1.853 MB / 0.5763 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005191/0.4186, allocations: 1.872 MB / 0.5781 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.4203, allocations: 0.5536 MB / 0.5787 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.4262, allocations: 3.894 MB / 0.5825 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.4296, allocations: 2.286 MB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.4323, allocations: 1.39 MB / 0.5861 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00331/0.4356, allocations: 2.13 MB / 0.5882 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008037/0.4364, allocations: 288 kB / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.4387, allocations: 1.026 MB / 0.5894 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.4409, allocations: 1.788 MB / 0.5912 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.444, allocations: 2.104 MB / 0.5932 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009266/0.4532, allocations: 6.913 MB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4532, allocations: 4 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4532, allocations: 0 / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002146/0.4535, allocations: 3.938 kB / 0.6 GB, free: 11.57 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.01099/0.4644, allocations: 4.585 MB / 0.6045 GB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.4645, allocations: 8.031 kB / 0.6045 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001658/0.4662, allocations: 0.7697 MB / 0.6052 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.477, allocations: 3.153 MB / 0.6083 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/0.4832, allocations: 2.283 MB / 0.6105 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.4834, allocations: 217.6 kB / 0.6107 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.4848, allocations: 287.8 kB / 0.611 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/0.5068, allocations: 11.11 MB / 0.6219 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.507, allocations: 31.75 kB / 0.6219 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/0.5076, allocations: 131.8 kB / 0.622 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004927/0.5125, allocations: 2.624 MB / 0.6246 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.5356, allocations: 10.37 MB / 0.6347 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05958/0.5952, allocations: 36.41 MB / 0.6703 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008738/0.6039, allocations: 3.48 MB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.6073, allocations: 2.22 MB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009324/0.6082, allocations: 457.1 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.6083, allocations: 52.56 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.97e-06/0.6083, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.0416/0.6499, allocations: 17.42 MB / 0.6933 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.65, allocations: 77.41 kB / 0.6934 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.6538, allocations: 2.755 MB / 0.6961 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/0.6542, allocations: 57.7 kB / 0.6962 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002165/0.6564, allocations: 2.882 MB / 0.699 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.6576, allocations: 0.961 MB / 0.6999 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.6591, allocations: 1.076 MB / 0.701 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6592, allocations: 301.1 kB / 0.7012 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/0.6629, allocations: 2.306 MB / 0.7035 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/0.6691, allocations: 5.214 MB / 0.7086 GB, free: 9.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6798, allocations: 8.253 MB / 0.7166 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.152e-05/0.6799, allocations: 32 kB / 0.7167 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01581/0.6957, allocations: 8.279 MB / 0.7248 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.6958, allocations: 48 kB / 0.7248 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.6959, allocations: 104 kB / 0.7249 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.6987, allocations: 0.9373 MB / 0.7258 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/0.7031, allocations: 1.22 MB / 0.727 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3127/1.016, allocations: 5.037 MB / 0.7319 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.02, allocations: 297.7 kB / 0.7322 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/1.021, allocations: 308.9 kB / 0.7325 GB, free: 153.3 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.004696/1.026, allocations: 2.151 MB / 0.7346 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/1.026, allocations: 296.2 kB / 0.7349 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/1.034, allocations: 5.111 MB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/1.034, allocations: 47.02 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.034, allocations: 10.91 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.034, allocations: 6.891 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.051, allocations: 11.83 MB / 0.7515 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.051, allocations: 11.03 kB / 0.7515 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.053, allocations: 397.4 kB / 0.7519 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/1.055, allocations: 0.7762 MB / 0.7527 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/1.055, allocations: 50.06 kB / 0.7527 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/1.06, allocations: 4.285 MB / 0.7569 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.06, allocations: 15.94 kB / 0.7569 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009001/1.069, allocations: 7.628 MB / 0.7644 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/1.07, allocations: 264.2 kB / 0.7646 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/1.07, allocations: 51.81 kB / 0.7647 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.071, allocations: 151.4 kB / 0.7648 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.072, allocations: 160.3 kB / 0.7649 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.072, allocations: 72 kB / 0.765 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00207/1.074, allocations: 1.689 MB / 0.7667 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.074, allocations: 0 / 0.7667 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004163/1.078, allocations: 0.966 MB / 0.7676 GB, free: 132.6 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.00905/1.087, allocations: 8.291 MB / 0.7757 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006896/1.094, allocations: 5.421 MB / 0.781 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/1.094, allocations: 4.438 kB / 0.781 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.096, allocations: 2.003 MB / 0.783 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.099, allocations: 399.4 kB / 0.7833 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05694/1.156, allocations: 42.37 MB / 0.8247 GB, free: 69.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.159, allocations: 3.367 MB / 0.828 GB, free: 66.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003645/1.162, allocations: 1.99 MB / 0.83 GB, free: 64.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.165, allocations: 1.835 MB / 0.8317 GB, free: 62.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.183e-06/1.165, allocations: 0 / 0.8317 GB, free: 62.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.275, allocations: 64.56 MB / 0.8948 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24/25.27, allocations: 14.7 kB / 0.8948 GB, free: 14.24 MB / 0.5762 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: 28.412798726996698]