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.00158/0.00158, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 79.53 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1526, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01547/0.1681, allocations: 13.51 MB / 493.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008187/0.1764, allocations: 4.17 MB / 497.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.1781, allocations: 67.88 kB / 497.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.1816, allocations: 1.818 MB / 499.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.1857, allocations: 1.802 MB / 0.4897 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1872, allocations: 0.5498 MB / 0.4903 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.1923, allocations: 3.895 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003719/0.196, allocations: 2.689 MB / 0.4967 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.1983, allocations: 1.362 MB / 0.498 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.2025, allocations: 1.943 MB / 0.4999 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.2046, allocations: 295.9 kB / 0.5002 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.2077, allocations: 0.9869 MB / 0.5012 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003135/0.2109, allocations: 1.749 MB / 0.5029 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.2148, allocations: 2.104 MB / 0.5049 GB, free: 48 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2529/0.4677, allocations: 6.589 MB / 0.5114 GB, free: 16.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.4678, allocations: 5.188 kB / 0.5114 GB, free: 16.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4678, allocations: 0.7031 kB / 0.5114 GB, free: 16.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.4681, allocations: 0 / 0.5114 GB, free: 16.79 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.02384/0.492, allocations: 4.53 MB / 0.5158 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.4921, allocations: 9.188 kB / 0.5158 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004147/0.4962, allocations: 0.7593 MB / 0.5166 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.5095, allocations: 3.128 MB / 0.5196 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007586/0.5171, allocations: 2.32 MB / 0.5219 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/0.5176, allocations: 218.7 kB / 0.5221 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.52, allocations: 295.2 kB / 0.5224 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.5442, allocations: 11.11 MB / 0.5332 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.5445, allocations: 25.03 kB / 0.5332 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.5457, allocations: 132.9 kB / 0.5334 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004435/0.5501, allocations: 2.62 MB / 0.5359 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.5698, allocations: 10.38 MB / 0.5461 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/0.6349, allocations: 36.69 MB / 0.5819 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009999/0.645, allocations: 4.574 MB / 0.5864 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/0.6489, allocations: 2.396 MB / 0.5887 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.6505, allocations: 1.325 MB / 0.59 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.6505, allocations: 56.5 kB / 0.5901 GB, free: 3.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 6.121e-06/0.6506, allocations: 3.469 kB / 0.5901 GB, free: 3.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.04475/0.6953, allocations: 17.58 MB / 0.6072 GB, free: 1.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.6954, allocations: 73.41 kB / 0.6073 GB, free: 1.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/0.7, allocations: 2.734 MB / 0.61 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.7003, allocations: 60.36 kB / 0.61 GB, free: 14.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.7022, allocations: 2.776 MB / 0.6127 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.7032, allocations: 0.9196 MB / 0.6136 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.7049, allocations: 1.063 MB / 0.6147 GB, free: 9.906 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.705, allocations: 301.1 kB / 0.615 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.7085, allocations: 2.31 MB / 0.6172 GB, free: 7.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/0.7145, allocations: 5.209 MB / 0.6223 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.7256, allocations: 8.263 MB / 0.6304 GB, free: 7.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.7258, allocations: 28 kB / 0.6304 GB, free: 7.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02106/0.7468, allocations: 8.274 MB / 0.6385 GB, free: 15.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.747, allocations: 56 kB / 0.6385 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/0.7473, allocations: 100 kB / 0.6386 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003033/0.7503, allocations: 0.9411 MB / 0.6395 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.7548, allocations: 1.22 MB / 0.6407 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007144/0.762, allocations: 5.138 MB / 0.6458 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.7658, allocations: 295.8 kB / 0.646 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/0.7668, allocations: 310.5 kB / 0.6463 GB, free: 7.477 MB / 494.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.004904/0.7717, allocations: 2.143 MB / 0.6484 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/0.7723, allocations: 276.4 kB / 0.6487 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009194/0.7815, allocations: 5.128 MB / 0.6537 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/0.7816, allocations: 44 kB / 0.6537 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.7816, allocations: 7.984 kB / 0.6537 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.7816, allocations: 8.062 kB / 0.6537 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/0.8077, allocations: 11.92 MB / 0.6654 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.8077, allocations: 10.62 kB / 0.6654 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.8097, allocations: 395.5 kB / 0.6658 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.8124, allocations: 0.7809 MB / 0.6665 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/0.8129, allocations: 51.98 kB / 0.6666 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/0.8193, allocations: 4.39 MB / 0.6709 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.8194, allocations: 15.94 kB / 0.6709 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.8315, allocations: 7.62 MB / 0.6783 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000785/0.8324, allocations: 324.2 kB / 0.6786 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/0.8329, allocations: 47.98 kB / 0.6787 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.8344, allocations: 146.8 kB / 0.6788 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.8349, allocations: 156.8 kB / 0.679 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/0.8351, allocations: 71.98 kB / 0.6791 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002968/0.838, allocations: 1.693 MB / 0.6807 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8381, allocations: 4 kB / 0.6807 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004336/0.8424, allocations: 0.9597 MB / 0.6816 GB, free: 2.809 MB / 0.5137 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.01187/0.8543, allocations: 8.279 MB / 0.6897 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01511/0.8694, allocations: 9.103 MB / 0.6986 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.8695, allocations: 0 / 0.6986 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.8731, allocations: 2.15 MB / 0.7007 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/0.8766, allocations: 396 kB / 0.7011 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/1.16, allocations: 45.34 MB / 0.7454 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.164, allocations: 3.367 MB / 0.7487 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00411/1.168, allocations: 1.987 MB / 0.7506 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/1.171, allocations: 1.831 MB / 0.7524 GB, free: 174.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/1.171, allocations: 3.938 kB / 0.7524 GB, free: 174.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08198/1.253, allocations: 62.46 MB / 0.8134 GB, free: 112.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.14, allocations: 3.938 kB / 0.8134 GB, free: 112.5 MB / 0.545 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