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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001192, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001114/0.001114, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001795, allocations: 73.42 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1049, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01317/0.1181, allocations: 13.93 MB / 454.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009736/0.1279, allocations: 4.206 MB / 458.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.1306, allocations: 71.81 kB / 458.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004311/0.1349, allocations: 1.833 MB / 460.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.1412, allocations: 1.864 MB / 462.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.1432, allocations: 0.5537 MB / 463.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00709/0.1503, allocations: 3.957 MB / 467 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.1549, allocations: 2.728 MB / 469.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.1581, allocations: 1.401 MB / 471.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.1619, allocations: 1.982 MB / 473.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.1633, allocations: 296 kB / 473.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.1662, allocations: 0.9986 MB / 474.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.1691, allocations: 1.808 MB / 476.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.1727, allocations: 2.182 MB / 478.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.1808, allocations: 6.771 MB / 485.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1809, allocations: 0 / 485.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1809, allocations: 0 / 485.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.1811, allocations: 0 / 485.2 MB, free: 10.04 MB / 366.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.009373/0.1904, allocations: 4.657 MB / 489.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.1905, allocations: 19.88 kB / 489.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001307/0.1918, allocations: 0.7786 MB / 490.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.2024, allocations: 3.126 MB / 493.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.2076, allocations: 2.604 MB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.2078, allocations: 225.7 kB / 496.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008518/0.2087, allocations: 295.6 kB / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.2275, allocations: 11.32 MB / 0.4963 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.2277, allocations: 27.72 kB / 0.4963 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/0.2281, allocations: 135.8 kB / 0.4964 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004896/0.233, allocations: 2.71 MB / 0.4991 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.2549, allocations: 10.48 MB / 0.5093 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2665/0.5215, allocations: 37.51 MB / 0.5459 GB, free: 64.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009668/0.5312, allocations: 4.571 MB / 0.5504 GB, free: 63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.5348, allocations: 2.404 MB / 0.5528 GB, free: 62.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.5359, allocations: 1.316 MB / 0.554 GB, free: 61.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.536, allocations: 53.44 kB / 0.5541 GB, free: 61.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.841e-06/0.536, allocations: 0.5625 kB / 0.5541 GB, free: 61.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03854/0.5745, allocations: 17.67 MB / 0.5714 GB, free: 56.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5746, allocations: 73.12 kB / 0.5714 GB, free: 56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/0.5782, allocations: 2.811 MB / 0.5742 GB, free: 53.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00041/0.5786, allocations: 57.7 kB / 0.5742 GB, free: 53.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.5798, allocations: 2.854 MB / 0.577 GB, free: 51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.5805, allocations: 0.9126 MB / 0.5779 GB, free: 50.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.5816, allocations: 1.091 MB / 0.579 GB, free: 49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.5817, allocations: 316.6 kB / 0.5793 GB, free: 48.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.5842, allocations: 2.322 MB / 0.5815 GB, free: 46.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.5877, allocations: 5.291 MB / 0.5867 GB, free: 39.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007288/0.5951, allocations: 8.376 MB / 0.5949 GB, free: 29.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.263e-05/0.5952, allocations: 28 kB / 0.5949 GB, free: 29.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01339/0.6086, allocations: 8.364 MB / 0.6031 GB, free: 21.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.6087, allocations: 52.03 kB / 0.6031 GB, free: 21.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.767e-05/0.6088, allocations: 107.9 kB / 0.6032 GB, free: 21.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.6112, allocations: 0.9442 MB / 0.6042 GB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.6147, allocations: 1.244 MB / 0.6054 GB, free: 19.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.6199, allocations: 5.143 MB / 0.6104 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.6232, allocations: 299.7 kB / 0.6107 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/0.6237, allocations: 323.6 kB / 0.611 GB, free: 13.23 MB / 414.1 MB 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.002844/0.6265, allocations: 2.182 MB / 0.6131 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.627, allocations: 284.2 kB / 0.6134 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/0.6342, allocations: 5.14 MB / 0.6184 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/0.6343, allocations: 47.08 kB / 0.6184 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6343, allocations: 4 kB / 0.6185 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.6343, allocations: 11.95 kB / 0.6185 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/0.653, allocations: 11.98 MB / 0.6302 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.6531, allocations: 9.5 kB / 0.6302 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.6548, allocations: 403.5 kB / 0.6306 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/0.6572, allocations: 0.777 MB / 0.6313 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.6575, allocations: 51.75 kB / 0.6314 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.663, allocations: 4.387 MB / 0.6356 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/0.6631, allocations: 15.94 kB / 0.6357 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.6742, allocations: 7.627 MB / 0.6431 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.6757, allocations: 0.677 MB / 0.6438 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.6761, allocations: 51.92 kB / 0.6438 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6774, allocations: 147.8 kB / 0.644 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.6778, allocations: 152.7 kB / 0.6441 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.678, allocations: 71.98 kB / 0.6442 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002351/0.6803, allocations: 1.738 MB / 0.6459 GB, free: 8.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6803, allocations: 0 / 0.6459 GB, free: 8.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003868/0.6842, allocations: 1.003 MB / 0.6469 GB, free: 7.988 MB / 446.1 MB 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.01102/0.6952, allocations: 8.298 MB / 0.655 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01345/0.7087, allocations: 9.132 MB / 0.6639 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.7088, allocations: 4 kB / 0.6639 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.7118, allocations: 2.146 MB / 0.666 GB, free: 4.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.7147, allocations: 404.4 kB / 0.6664 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06885/0.7836, allocations: 46.25 MB / 0.7115 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0051/0.7887, allocations: 3.44 MB / 0.7149 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004994/0.7937, allocations: 2.002 MB / 0.7168 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/0.7971, allocations: 1.882 MB / 0.7187 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/0.7971, allocations: 0 / 0.7187 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/1.101, allocations: 63.14 MB / 0.7803 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.16, allocations: 11.08 kB / 0.7804 GB, free: 150.9 MB / 0.5137 GB (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.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) 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) Reference file matches