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.00137/0.00137, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001237/0.001237, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2228/0.2228, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3484, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01634/0.3648, allocations: 13.56 MB / 0.5317 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3759, allocations: 4.153 MB / 0.5357 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.379, allocations: 68.34 kB / 0.5358 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004313/0.3834, allocations: 1.824 MB / 0.5376 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.3893, allocations: 1.833 MB / 0.5394 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.3914, allocations: 0.5541 MB / 0.5399 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007092/0.3985, allocations: 3.878 MB / 0.5437 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.403, allocations: 2.698 MB / 0.5463 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.4059, allocations: 1.374 MB / 0.5477 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.4099, allocations: 1.951 MB / 0.5496 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.4112, allocations: 292 kB / 0.5499 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.4141, allocations: 1.006 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.4163, allocations: 1.765 MB / 0.5526 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003684/0.42, allocations: 2.124 MB / 0.5546 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.4314, allocations: 6.988 MB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4315, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4315, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002193/0.4317, allocations: 0 / 0.5615 GB, free: 15.9 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.01043/0.4422, allocations: 4.683 MB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4422, allocations: 12.03 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001899/0.4442, allocations: 0.7658 MB / 0.5668 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.4557, allocations: 3.149 MB / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005668/0.4614, allocations: 2.46 MB / 0.5723 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.4617, allocations: 225.5 kB / 0.5725 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.4631, allocations: 283.8 kB / 0.5728 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.4862, allocations: 11.11 MB / 0.5836 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.4864, allocations: 35.7 kB / 0.5836 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/0.4869, allocations: 135.8 kB / 0.5838 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004959/0.4919, allocations: 2.628 MB / 0.5863 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.5134, allocations: 10.37 MB / 0.5965 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05951/0.573, allocations: 36.54 MB / 0.6321 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009906/0.583, allocations: 4.571 MB / 0.6366 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/0.5869, allocations: 2.4 MB / 0.639 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.5884, allocations: 1.319 MB / 0.6402 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.5885, allocations: 48.56 kB / 0.6403 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.031e-06/0.5885, allocations: 4 kB / 0.6403 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04232/0.6308, allocations: 17.67 MB / 0.6575 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.6309, allocations: 77.39 kB / 0.6576 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.6351, allocations: 2.752 MB / 0.6603 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000406/0.6355, allocations: 57.7 kB / 0.6604 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/0.638, allocations: 2.89 MB / 0.6632 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.6393, allocations: 0.961 MB / 0.6641 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.6411, allocations: 1.072 MB / 0.6652 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6413, allocations: 305.1 kB / 0.6655 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/0.6451, allocations: 2.31 MB / 0.6677 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/0.6522, allocations: 5.206 MB / 0.6728 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.6641, allocations: 8.261 MB / 0.6809 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.6642, allocations: 28 kB / 0.6809 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01786/0.6821, allocations: 8.287 MB / 0.689 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/0.6822, allocations: 48 kB / 0.689 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.6824, allocations: 100 kB / 0.6891 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.6853, allocations: 0.9494 MB / 0.6901 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/0.6897, allocations: 1.213 MB / 0.6912 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007649/0.6973, allocations: 5.14 MB / 0.6963 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.701, allocations: 295.8 kB / 0.6965 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007986/0.7019, allocations: 308 kB / 0.6968 GB, free: 108 kB / 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.004278/0.7061, allocations: 2.154 MB / 0.6989 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/0.7068, allocations: 306 kB / 0.6992 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009545/0.7163, allocations: 5.121 MB / 0.7042 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/0.7164, allocations: 43.98 kB / 0.7043 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7164, allocations: 0 / 0.7043 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.7164, allocations: 15.95 kB / 0.7043 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/0.7372, allocations: 11.89 MB / 0.7159 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.7372, allocations: 12 kB / 0.7159 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.7389, allocations: 395.4 kB / 0.7163 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.7413, allocations: 0.7698 MB / 0.717 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.7416, allocations: 59.91 kB / 0.7171 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.7475, allocations: 4.374 MB / 0.7214 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.7476, allocations: 15.94 kB / 0.7214 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2547/1.002, allocations: 7.644 MB / 0.7288 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/1.003, allocations: 342.1 kB / 0.7292 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006189/1.004, allocations: 49.2 kB / 0.7292 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.005, allocations: 146.8 kB / 0.7294 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.006, allocations: 150.5 kB / 0.7295 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.006, allocations: 73.89 kB / 0.7296 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002932/1.009, allocations: 1.692 MB / 0.7312 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.663e-06/1.009, allocations: 0 / 0.7312 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004503/1.013, allocations: 0.9896 MB / 0.7322 GB, free: 180.4 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.01172/1.025, allocations: 8.295 MB / 0.7403 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008106/1.033, allocations: 5.671 MB / 0.7458 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/1.033, allocations: 2.906 kB / 0.7458 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.036, allocations: 2.151 MB / 0.7479 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.038, allocations: 413.6 kB / 0.7483 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05113/1.089, allocations: 42.27 MB / 0.7896 GB, free: 137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/1.092, allocations: 3.371 MB / 0.7929 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00353/1.095, allocations: 1.99 MB / 0.7948 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/1.098, allocations: 1.843 MB / 0.7966 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.834e-06/1.098, allocations: 0 / 0.7966 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0895/1.187, allocations: 59.68 MB / 0.8549 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.66/23.84, allocations: 23.62 kB / 0.8549 GB, free: 70.39 MB / 0.5762 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