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.001833/0.001833, 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.002263/0.002263, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.531/1.531, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2499/0.2499, allocations: 46.93 MB / 357.1 MB, free: 10.29 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.002021/0.002021, allocations: 67.89 kB / 0.4909 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1592, allocations: 65.98 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01744/0.1766, allocations: 13.56 MB / 0.5686 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.187, allocations: 4.193 MB / 0.5727 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.1899, allocations: 83.69 kB / 0.5728 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.1939, allocations: 1.841 MB / 0.5746 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.1989, allocations: 1.856 MB / 0.5764 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.2005, allocations: 0.5498 MB / 0.5769 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006014/0.2065, allocations: 3.894 MB / 0.5808 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.2101, allocations: 2.306 MB / 0.583 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.213, allocations: 1.398 MB / 0.5844 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/0.2171, allocations: 2.138 MB / 0.5865 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.2182, allocations: 292 kB / 0.5867 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.2208, allocations: 1.026 MB / 0.5877 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002268/0.223, allocations: 1.788 MB / 0.5895 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003678/0.2267, allocations: 2.096 MB / 0.5915 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3415/0.5682, allocations: 6.909 MB / 0.5983 GB, free: 9.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5682, allocations: 0.7969 kB / 0.5983 GB, free: 9.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5682, allocations: 0.6875 kB / 0.5983 GB, free: 9.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004021/0.5686, allocations: 0.5312 kB / 0.5983 GB, free: 9.922 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.01774/0.5864, allocations: 4.667 MB / 0.6028 GB, free: 7.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.5864, allocations: 9.625 kB / 0.6028 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003366/0.5898, allocations: 0.7626 MB / 0.6036 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.6026, allocations: 3.15 MB / 0.6067 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/0.6091, allocations: 2.354 MB / 0.609 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.6094, allocations: 218.5 kB / 0.6092 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.6114, allocations: 287.7 kB / 0.6094 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.6384, allocations: 11.11 MB / 0.6203 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/0.6386, allocations: 36.91 kB / 0.6203 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/0.6404, allocations: 134 kB / 0.6205 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005134/0.6455, allocations: 2.619 MB / 0.623 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/0.6686, allocations: 10.38 MB / 0.6332 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08859/0.7571, allocations: 36.55 MB / 0.6688 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.768, allocations: 4.387 MB / 0.6731 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004462/0.7725, allocations: 2.217 MB / 0.6753 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.7742, allocations: 1.325 MB / 0.6766 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/0.7742, allocations: 59.03 kB / 0.6766 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 7.243e-06/0.7743, allocations: 0 / 0.6766 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.05134/0.8256, allocations: 17.65 MB / 0.6939 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.8257, allocations: 73.41 kB / 0.694 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.8313, allocations: 2.742 MB / 0.6966 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000665/0.8319, allocations: 57.7 kB / 0.6967 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002918/0.8349, allocations: 2.896 MB / 0.6995 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.8366, allocations: 0.9611 MB / 0.7005 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002886/0.8394, allocations: 1.075 MB / 0.7015 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8396, allocations: 301.1 kB / 0.7018 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/0.8444, allocations: 2.305 MB / 0.704 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008115/0.8525, allocations: 5.218 MB / 0.7091 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/0.8655, allocations: 8.253 MB / 0.7172 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/0.8656, allocations: 30.81 kB / 0.7172 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02094/0.8865, allocations: 8.276 MB / 0.7253 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.8866, allocations: 48 kB / 0.7254 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/0.8868, allocations: 100.1 kB / 0.7254 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/0.8904, allocations: 0.9433 MB / 0.7264 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/0.8957, allocations: 1.217 MB / 0.7276 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008355/0.9041, allocations: 5.146 MB / 0.7326 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/0.9091, allocations: 295.8 kB / 0.7329 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/0.9106, allocations: 310.6 kB / 0.7332 GB, free: 4.629 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.005879/0.9165, allocations: 2.149 MB / 0.7353 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/0.9172, allocations: 298 kB / 0.7355 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.9276, allocations: 5.116 MB / 0.7405 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/0.9277, allocations: 39.98 kB / 0.7406 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.9277, allocations: 4 kB / 0.7406 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.167e-05/0.9277, allocations: 7.969 kB / 0.7406 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/0.953, allocations: 11.87 MB / 0.7522 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.9531, allocations: 8.094 kB / 0.7522 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/0.9552, allocations: 399.3 kB / 0.7526 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/0.9581, allocations: 0.7797 MB / 0.7533 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004948/0.9586, allocations: 47.98 kB / 0.7534 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006574/0.9651, allocations: 4.392 MB / 0.7577 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/0.9651, allocations: 15.94 kB / 0.7577 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.9797, allocations: 7.632 MB / 0.7651 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.9808, allocations: 335.2 kB / 0.7655 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/0.982, allocations: 54.95 kB / 0.7655 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.9843, allocations: 143.8 kB / 0.7656 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008393/0.9852, allocations: 155.5 kB / 0.7658 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/0.9855, allocations: 82.88 kB / 0.7659 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00413/0.9896, allocations: 1.687 MB / 0.7675 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9896, allocations: 0 / 0.7675 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007706/0.9973, allocations: 0.9609 MB / 0.7685 GB, free: 15.98 MB / 0.5919 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.01665/1.014, allocations: 8.295 MB / 0.7766 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.026, allocations: 5.413 MB / 0.7818 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.026, allocations: 0 / 0.7818 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/1.03, allocations: 1.995 MB / 0.7838 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.034, allocations: 404.5 kB / 0.7842 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09723/1.131, allocations: 42.25 MB / 0.8254 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008872/1.14, allocations: 3.37 MB / 0.8287 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006148/1.146, allocations: 1.978 MB / 0.8307 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00478/1.151, allocations: 1.835 MB / 0.8324 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of SimCode: time 2.695e-06/1.151, allocations: 0 / 0.8324 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5535/1.704, allocations: 60.05 MB / 0.8911 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.79/24.5, allocations: 14.48 kB / 0.8911 GB, free: 215.7 MB / 0.6544 GB " [Timeout remaining time 635] (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: 27.935531651004567]