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.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00138/0.00138, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.41/1.41, 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.2269/0.2269, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.001926/0.001926, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01489/0.3238, allocations: 11.79 MB / 0.5721 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009622/0.3334, allocations: 3.981 MB / 0.576 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.3357, allocations: 75.75 kB / 0.5761 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3396, allocations: 1.779 MB / 0.5778 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.3443, allocations: 1.872 MB / 0.5796 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3458, allocations: 0.5614 MB / 0.5802 GB, free: 80 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.3519, allocations: 3.89 MB / 0.584 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.3552, allocations: 2.282 MB / 0.5862 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.3576, allocations: 1.394 MB / 0.5876 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.3608, allocations: 2.134 MB / 0.5897 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008028/0.3616, allocations: 292 kB / 0.5899 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.3638, allocations: 0.9049 MB / 0.5908 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.366, allocations: 1.792 MB / 0.5926 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.3685, allocations: 1.51 MB / 0.594 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009368/0.3779, allocations: 6.944 MB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3779, allocations: 0 / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3779, allocations: 0 / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000204/0.3781, allocations: 0 / 0.6008 GB, free: 10.82 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.01024/0.3883, allocations: 4.589 MB / 0.6053 GB, free: 6.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3884, allocations: 11.97 kB / 0.6053 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/0.3895, allocations: 0.7658 MB / 0.6061 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4003, allocations: 3.157 MB / 0.6091 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/0.4068, allocations: 2.302 MB / 0.6114 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.4071, allocations: 221.5 kB / 0.6116 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.4085, allocations: 291.7 kB / 0.6119 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.4288, allocations: 11.11 MB / 0.6227 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.4289, allocations: 31.77 kB / 0.6228 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005019/0.4294, allocations: 127.8 kB / 0.6229 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00472/0.4342, allocations: 2.62 MB / 0.6254 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.4551, allocations: 10.35 MB / 0.6355 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05714/0.5122, allocations: 34.64 MB / 0.6694 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008925/0.5212, allocations: 3.469 MB / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.5247, allocations: 2.222 MB / 0.6749 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/0.5257, allocations: 445.2 kB / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.5257, allocations: 52.56 kB / 0.6754 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.911e-06/0.5257, allocations: 0 / 0.6754 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.0426/0.5683, allocations: 17.49 MB / 0.6925 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.5684, allocations: 77.34 kB / 0.6926 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.5729, allocations: 2.917 MB / 0.6954 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005503/0.5735, allocations: 61.61 kB / 0.6955 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003167/0.5766, allocations: 2.882 MB / 0.6983 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.5783, allocations: 0.9571 MB / 0.6992 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.5801, allocations: 1.073 MB / 0.7003 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5802, allocations: 305.1 kB / 0.7006 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/0.5841, allocations: 2.306 MB / 0.7028 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006744/0.5908, allocations: 5.214 MB / 0.7079 GB, free: 10.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.6028, allocations: 8.261 MB / 0.716 GB, free: 460 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/0.6029, allocations: 28 kB / 0.716 GB, free: 432 kB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01803/0.6209, allocations: 8.279 MB / 0.7241 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.621, allocations: 50.66 kB / 0.7241 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/0.6212, allocations: 100.9 kB / 0.7242 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.6242, allocations: 0.9447 MB / 0.7251 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/0.6289, allocations: 1.213 MB / 0.7263 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.6365, allocations: 4.998 MB / 0.7312 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/0.6406, allocations: 299.8 kB / 0.7315 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009862/0.6416, allocations: 304 kB / 0.7318 GB, free: 128 kB / 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.287/0.9286, allocations: 2.151 MB / 0.7339 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.9293, allocations: 292.5 kB / 0.7342 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/0.9368, allocations: 5.119 MB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/0.9369, allocations: 50.7 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9369, allocations: 5.219 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.9369, allocations: 7.688 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.9539, allocations: 11.42 MB / 0.7504 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.9539, allocations: 12 kB / 0.7504 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9553, allocations: 395.7 kB / 0.7508 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.9573, allocations: 0.769 MB / 0.7515 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.9575, allocations: 49.66 kB / 0.7516 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.9617, allocations: 4.248 MB / 0.7557 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.9617, allocations: 14.34 kB / 0.7557 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/0.9703, allocations: 7.627 MB / 0.7632 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.9712, allocations: 269.8 kB / 0.7634 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.9715, allocations: 55.75 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9727, allocations: 143.8 kB / 0.7636 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.973, allocations: 160.8 kB / 0.7638 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.9731, allocations: 75.95 kB / 0.7639 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001878/0.975, allocations: 1.689 MB / 0.7655 GB, free: 132 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.975, allocations: 0 / 0.7655 GB, free: 132 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003665/0.9787, allocations: 0.9673 MB / 0.7664 GB, free: 131.1 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.008619/0.9873, allocations: 8.288 MB / 0.7745 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006559/0.9939, allocations: 5.419 MB / 0.7798 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.278e-05/0.9939, allocations: 0 / 0.7798 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.996, allocations: 2.005 MB / 0.7818 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.9981, allocations: 396.4 kB / 0.7822 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05105/1.049, allocations: 42.37 MB / 0.8235 GB, free: 68.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.052, allocations: 2.828 MB / 0.8263 GB, free: 65.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003419/1.055, allocations: 1.986 MB / 0.8282 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.057, allocations: 1.839 MB / 0.83 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.057, allocations: 0 / 0.83 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.159, allocations: 62.45 MB / 0.891 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.95, allocations: 12.06 kB / 0.891 GB, free: 15.64 MB / 0.5762 GB " [Timeout remaining time 644] (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: 18.979375922004692]