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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 61.61 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0135/0.1271, allocations: 13.55 MB / 482.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008252/0.1354, allocations: 4.166 MB / 487.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.1373, allocations: 67.88 kB / 487.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.1407, allocations: 1.822 MB / 489 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.1453, allocations: 1.836 MB / 490.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1466, allocations: 0.5536 MB / 491.4 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004816/0.1515, allocations: 3.87 MB / 495.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/0.1554, allocations: 2.701 MB / 497.9 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.1574, allocations: 1.37 MB / 499.3 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.1602, allocations: 1.951 MB / 0.4895 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008885/0.1611, allocations: 292 kB / 0.4898 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.1633, allocations: 1.01 MB / 0.4908 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.1652, allocations: 1.773 MB / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.1676, allocations: 2.124 MB / 0.4946 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.1739, allocations: 6.658 MB / 0.5011 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1739, allocations: 0 / 0.5011 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1739, allocations: 4 kB / 0.5011 GB, free: 2.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001393/0.1741, allocations: 0 / 0.5011 GB, free: 2.363 MB / 382.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.197/0.3711, allocations: 4.548 MB / 0.5055 GB, free: 46.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3712, allocations: 9.844 kB / 0.5055 GB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001353/0.3725, allocations: 0.7681 MB / 0.5063 GB, free: 46.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.3841, allocations: 3.126 MB / 0.5093 GB, free: 45.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/0.3897, allocations: 2.431 MB / 0.5117 GB, free: 44.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.39, allocations: 218.7 kB / 0.5119 GB, free: 44.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.3914, allocations: 290.5 kB / 0.5122 GB, free: 44.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4113, allocations: 11.1 MB / 0.523 GB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/0.4116, allocations: 30.75 kB / 0.5231 GB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.413, allocations: 139.7 kB / 0.5232 GB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.417, allocations: 2.634 MB / 0.5258 GB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.4355, allocations: 10.37 MB / 0.5359 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05099/0.4865, allocations: 36.69 MB / 0.5717 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009564/0.4961, allocations: 4.567 MB / 0.5762 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.4999, allocations: 2.411 MB / 0.5785 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.5013, allocations: 1.319 MB / 0.5798 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.5014, allocations: 57.23 kB / 0.5799 GB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 6.141e-06/0.5014, allocations: 0 / 0.5799 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.04652/0.5479, allocations: 17.58 MB / 0.597 GB, free: 9.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.548, allocations: 77.41 kB / 0.5971 GB, free: 9.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/0.5537, allocations: 2.751 MB / 0.5998 GB, free: 7.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006629/0.5543, allocations: 61.7 kB / 0.5999 GB, free: 7.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/0.5573, allocations: 2.768 MB / 0.6026 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/0.5591, allocations: 0.9172 MB / 0.6035 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002993/0.5621, allocations: 1.068 MB / 0.6045 GB, free: 2.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5622, allocations: 305.1 kB / 0.6048 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/0.5663, allocations: 2.302 MB / 0.607 GB, free: 15.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006433/0.5727, allocations: 5.21 MB / 0.6121 GB, free: 8.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.5831, allocations: 8.261 MB / 0.6202 GB, free: 15.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.685e-05/0.5833, allocations: 31.94 kB / 0.6202 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01636/0.5997, allocations: 8.266 MB / 0.6283 GB, free: 6.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.5998, allocations: 52.16 kB / 0.6283 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/0.6, allocations: 104 kB / 0.6284 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/0.6028, allocations: 0.9436 MB / 0.6294 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/0.6072, allocations: 1.213 MB / 0.6306 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.6144, allocations: 5.138 MB / 0.6356 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/0.6187, allocations: 295.8 kB / 0.6359 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.6198, allocations: 307.9 kB / 0.6361 GB, free: 14.82 MB / 478.1 MB 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.005271/0.6251, allocations: 2.147 MB / 0.6382 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/0.626, allocations: 284.3 kB / 0.6385 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.6369, allocations: 5.129 MB / 0.6435 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-05/0.637, allocations: 51.92 kB / 0.6436 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.6371, allocations: 0 / 0.6436 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.6371, allocations: 11.95 kB / 0.6436 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02307/0.6602, allocations: 11.91 MB / 0.6552 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.6603, allocations: 11.98 kB / 0.6552 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.6621, allocations: 395.3 kB / 0.6556 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.6646, allocations: 0.781 MB / 0.6564 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/0.665, allocations: 59.91 kB / 0.6564 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/0.6709, allocations: 4.391 MB / 0.6607 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.6709, allocations: 12.05 kB / 0.6607 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.684, allocations: 7.621 MB / 0.6682 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.6851, allocations: 341.3 kB / 0.6685 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009028/0.686, allocations: 47.98 kB / 0.6685 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.6879, allocations: 143.8 kB / 0.6687 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/0.6885, allocations: 152.9 kB / 0.6688 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/0.6888, allocations: 71.98 kB / 0.6689 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003412/0.6922, allocations: 1.693 MB / 0.6705 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6922, allocations: 4 kB / 0.6705 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007006/0.6993, allocations: 0.9856 MB / 0.6715 GB, free: 10.04 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.01449/0.7138, allocations: 8.282 MB / 0.6796 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01499/0.7288, allocations: 9.094 MB / 0.6885 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/0.7289, allocations: 4 kB / 0.6885 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.7323, allocations: 2.153 MB / 0.6906 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.7355, allocations: 401.1 kB / 0.691 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2966/1.032, allocations: 45.39 MB / 0.7353 GB, free: 150 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/1.035, allocations: 3.376 MB / 0.7386 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003787/1.039, allocations: 1.982 MB / 0.7405 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.041, allocations: 1.835 MB / 0.7423 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.303e-06/1.041, allocations: 0 / 0.7423 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09701/1.138, allocations: 62.54 MB / 0.8034 GB, free: 81.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.1, allocations: 4.062 kB / 0.8034 GB, free: 81.71 MB / 0.5137 GB (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.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) 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) Reference file matches