Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001794/0.001794, allocations: 113 kB / 17.12 MB, free: 5.953 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.002276/0.002276, allocations: 204 kB / 20.09 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 207.6 MB / 230.5 MB, free: 4.051 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3687/0.3687, allocations: 44.24 MB / 326.6 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00229/0.00229, allocations: 63.91 kB / 462.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3234, allocations: 61 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01402/0.3375, allocations: 13.99 MB / 0.5246 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.3499, allocations: 4.233 MB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003843/0.3537, allocations: 83.69 kB / 0.5288 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.3582, allocations: 1.857 MB / 0.5306 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.3639, allocations: 1.923 MB / 0.5325 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3657, allocations: 0.5537 MB / 0.5331 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007114/0.3728, allocations: 3.956 MB / 0.5369 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.3769, allocations: 2.344 MB / 0.5392 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.3801, allocations: 1.444 MB / 0.5406 GB, free: 480 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.384, allocations: 2.165 MB / 0.5427 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.3851, allocations: 296 kB / 0.543 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.3878, allocations: 1.034 MB / 0.544 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.3904, allocations: 1.854 MB / 0.5458 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003781/0.3942, allocations: 2.178 MB / 0.548 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.405, allocations: 7.107 MB / 0.5549 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.405, allocations: 0 / 0.5549 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.405, allocations: 0 / 0.5549 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002387/0.4052, allocations: 3.938 kB / 0.5549 GB, free: 1.785 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01174/0.4169, allocations: 4.783 MB / 0.5596 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.417, allocations: 15.89 kB / 0.5596 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001785/0.4188, allocations: 0.7825 MB / 0.5604 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.4304, allocations: 3.153 MB / 0.5634 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/0.4374, allocations: 2.628 MB / 0.566 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.4377, allocations: 223.8 kB / 0.5662 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.439, allocations: 295.8 kB / 0.5665 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.4615, allocations: 11.32 MB / 0.5776 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4616, allocations: 27.77 kB / 0.5776 GB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006234/0.4623, allocations: 135.8 kB / 0.5777 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005322/0.4676, allocations: 2.71 MB / 0.5804 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.491, allocations: 10.49 MB / 0.5906 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07062/0.5616, allocations: 37.35 MB / 0.6271 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.5718, allocations: 4.396 MB / 0.6314 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/0.5756, allocations: 2.217 MB / 0.6335 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.5772, allocations: 1.323 MB / 0.6348 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/0.5772, allocations: 56.56 kB / 0.6349 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.661e-06/0.5772, allocations: 3.938 kB / 0.6349 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.315/0.8922, allocations: 17.73 MB / 0.6522 GB, free: 119 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.8923, allocations: 81.12 kB / 0.6523 GB, free: 119 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007049/0.8993, allocations: 2.812 MB / 0.655 GB, free: 118 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000599/0.8999, allocations: 57.58 kB / 0.6551 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.902, allocations: 2.978 MB / 0.658 GB, free: 116 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.9034, allocations: 0.966 MB / 0.6589 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/0.9059, allocations: 1.091 MB / 0.66 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.906, allocations: 301.7 kB / 0.6603 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/0.9108, allocations: 2.327 MB / 0.6626 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/0.9168, allocations: 5.299 MB / 0.6677 GB, free: 109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008465/0.9252, allocations: 8.37 MB / 0.6759 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.9253, allocations: 30.94 kB / 0.6759 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01528/0.9406, allocations: 8.359 MB / 0.6841 GB, free: 99.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.9407, allocations: 51.94 kB / 0.6841 GB, free: 99.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.9408, allocations: 108.1 kB / 0.6842 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.9436, allocations: 0.9387 MB / 0.6852 GB, free: 98.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/0.9477, allocations: 1.248 MB / 0.6864 GB, free: 97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.9533, allocations: 5.154 MB / 0.6914 GB, free: 91.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/0.9577, allocations: 299.2 kB / 0.6917 GB, free: 91.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009087/0.9586, allocations: 312 kB / 0.692 GB, free: 91.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (665): * Single equations (assignments): 658 * 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.00365/0.9622, allocations: 2.193 MB / 0.6941 GB, free: 88.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/0.963, allocations: 298 kB / 0.6944 GB, free: 88.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00775/0.9707, allocations: 5.121 MB / 0.6994 GB, free: 83.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/0.9708, allocations: 47.98 kB / 0.6995 GB, free: 83.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.9708, allocations: 4 kB / 0.6995 GB, free: 83.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/0.9708, allocations: 7.969 kB / 0.6995 GB, free: 83.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.9913, allocations: 11.95 MB / 0.7112 GB, free: 71.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.9914, allocations: 8 kB / 0.7112 GB, free: 71.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.9931, allocations: 395.5 kB / 0.7115 GB, free: 70.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/0.9954, allocations: 0.7847 MB / 0.7123 GB, free: 70.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/0.9958, allocations: 44 kB / 0.7123 GB, free: 70.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/1, allocations: 4.39 MB / 0.7166 GB, free: 65.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1, allocations: 15.94 kB / 0.7166 GB, free: 65.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.011, allocations: 7.628 MB / 0.7241 GB, free: 57.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.013, allocations: 0.702 MB / 0.7248 GB, free: 57.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009313/1.014, allocations: 47.98 kB / 0.7248 GB, free: 56.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.016, allocations: 143.8 kB / 0.725 GB, free: 56.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/1.016, allocations: 152.9 kB / 0.7251 GB, free: 56.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.017, allocations: 79.89 kB / 0.7252 GB, free: 56.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00292/1.02, allocations: 1.74 MB / 0.7269 GB, free: 54.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0 / 0.7269 GB, free: 54.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006246/1.026, allocations: 0.996 MB / 0.7279 GB, free: 53.89 MB / 0.4981 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.01091/1.037, allocations: 8.296 MB / 0.736 GB, free: 45.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008144/1.045, allocations: 5.46 MB / 0.7413 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.045, allocations: 0 / 0.7413 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.048, allocations: 2 MB / 0.7432 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.051, allocations: 407.7 kB / 0.7436 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06748/1.119, allocations: 42.98 MB / 0.7856 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005832/1.124, allocations: 3.44 MB / 0.789 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005037/1.129, allocations: 2.002 MB / 0.7909 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003662/1.133, allocations: 1.88 MB / 0.7928 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/1.133, allocations: 0 / 0.7928 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/1.281, allocations: 60.65 MB / 0.852 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.53/24.81, allocations: 4 kB / 0.852 GB, free: 1.926 MB / 0.5762 GB " [Timeout remaining time 635] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.166809385002125]