Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002132/0.002132, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003077/0.003077, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3813, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01634/0.3977, allocations: 13.51 MB / 0.5437 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4093, allocations: 4.169 MB / 0.5478 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.4134, allocations: 67.88 kB / 0.5479 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004988/0.4184, allocations: 1.812 MB / 0.5496 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.4249, allocations: 1.856 MB / 0.5514 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4271, allocations: 0.5536 MB / 0.552 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007694/0.4348, allocations: 3.895 MB / 0.5558 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005201/0.4401, allocations: 2.698 MB / 0.5584 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.4433, allocations: 1.37 MB / 0.5598 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.4474, allocations: 1.943 MB / 0.5616 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.449, allocations: 292 kB / 0.5619 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.4525, allocations: 0.9946 MB / 0.5629 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002917/0.4555, allocations: 1.741 MB / 0.5646 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005036/0.4605, allocations: 2.108 MB / 0.5667 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.4716, allocations: 6.915 MB / 0.5734 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4717, allocations: 0 / 0.5734 GB, free: 5.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4717, allocations: 0 / 0.5734 GB, free: 5.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002785/0.472, allocations: 0 / 0.5734 GB, free: 5.691 MB / 430.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.01139/0.4834, allocations: 4.664 MB / 0.578 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4834, allocations: 12.03 kB / 0.578 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002011/0.4854, allocations: 0.7619 MB / 0.5787 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.496, allocations: 3.151 MB / 0.5818 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.5019, allocations: 2.347 MB / 0.5841 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.5023, allocations: 222.9 kB / 0.5843 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.5038, allocations: 283.8 kB / 0.5846 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.5241, allocations: 11.11 MB / 0.5954 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.5243, allocations: 31.77 kB / 0.5955 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.5255, allocations: 139.7 kB / 0.5956 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004363/0.5298, allocations: 2.624 MB / 0.5982 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/0.5502, allocations: 10.37 MB / 0.6083 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/0.6072, allocations: 36.55 MB / 0.644 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009375/0.6166, allocations: 4.583 MB / 0.6484 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/0.6202, allocations: 2.396 MB / 0.6508 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.6216, allocations: 1.311 MB / 0.6521 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6217, allocations: 52.56 kB / 0.6521 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.552e-06/0.6217, allocations: 4 kB / 0.6521 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04162/0.6633, allocations: 17.65 MB / 0.6694 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.6634, allocations: 73.41 kB / 0.6694 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/0.6678, allocations: 2.751 MB / 0.6721 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004362/0.6683, allocations: 61.69 kB / 0.6722 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.6702, allocations: 2.882 MB / 0.675 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.6714, allocations: 0.9571 MB / 0.6759 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/0.6736, allocations: 1.076 MB / 0.677 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.6737, allocations: 305.1 kB / 0.6773 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/0.6773, allocations: 2.306 MB / 0.6795 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005798/0.6832, allocations: 5.21 MB / 0.6846 GB, free: 248 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6933, allocations: 8.269 MB / 0.6927 GB, free: 6.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.6935, allocations: 35.94 kB / 0.6927 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0161/0.7096, allocations: 8.279 MB / 0.7008 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.7098, allocations: 48 kB / 0.7008 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/0.71, allocations: 103.9 kB / 0.7009 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.7129, allocations: 0.9394 MB / 0.7019 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/0.7172, allocations: 1.224 MB / 0.7031 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006893/0.7241, allocations: 5.133 MB / 0.7081 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.7277, allocations: 299.8 kB / 0.7084 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009747/0.7287, allocations: 304 kB / 0.7086 GB, free: 6.047 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.004736/0.7335, allocations: 2.15 MB / 0.7107 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007619/0.7343, allocations: 294 kB / 0.711 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00926/0.7435, allocations: 5.129 MB / 0.716 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/0.7436, allocations: 51.92 kB / 0.7161 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.7437, allocations: 4 kB / 0.7161 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/0.7437, allocations: 11.97 kB / 0.7161 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/0.7661, allocations: 11.87 MB / 0.7277 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/0.7662, allocations: 16 kB / 0.7277 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.768, allocations: 399.3 kB / 0.7281 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.7705, allocations: 0.7698 MB / 0.7288 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005197/0.771, allocations: 51.98 kB / 0.7289 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3321/1.103, allocations: 4.379 MB / 0.7332 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/1.103, allocations: 17.14 kB / 0.7332 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.116, allocations: 7.637 MB / 0.7406 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009199/1.116, allocations: 344.2 kB / 0.741 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/1.117, allocations: 52.67 kB / 0.741 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.118, allocations: 144.2 kB / 0.7412 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.119, allocations: 156.3 kB / 0.7413 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.119, allocations: 77.86 kB / 0.7414 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002362/1.121, allocations: 1.685 MB / 0.743 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.121, allocations: 0 / 0.743 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004141/1.125, allocations: 0.9633 MB / 0.744 GB, free: 172.1 MB / 0.5762 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.009696/1.135, allocations: 8.308 MB / 0.7521 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007439/1.142, allocations: 5.664 MB / 0.7576 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/1.142, allocations: 0 / 0.7576 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.145, allocations: 2.155 MB / 0.7597 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.149, allocations: 400.1 kB / 0.7601 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06409/1.213, allocations: 42.26 MB / 0.8014 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/1.217, allocations: 3.371 MB / 0.8047 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003677/1.221, allocations: 1.979 MB / 0.8066 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/1.223, allocations: 1.831 MB / 0.8084 GB, free: 110 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.223, allocations: 0 / 0.8084 GB, free: 110 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08505/1.308, allocations: 59.61 MB / 0.8666 GB, free: 50.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/23.1, allocations: 12.41 kB / 0.8666 GB, free: 50.63 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches