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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007599/0.0007599, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8684/0.8684, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 32.8 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.104e-05, allocations: 5.094 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1755/0.1755, allocations: 11.78 MB / 451.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005222/0.1807, allocations: 3.993 MB / 455.4 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008273/0.1815, allocations: 76.09 kB / 455.5 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.1832, allocations: 1.86 MB / 457.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1851, allocations: 1.92 MB / 459.2 MB, free: 36.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1858, allocations: 0.5971 MB / 459.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1879, allocations: 4.274 MB / 464.1 MB, free: 34.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.1893, allocations: 2.533 MB / 466.6 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1904, allocations: 2.11 MB / 468.7 MB, free: 32.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.1916, allocations: 2.138 MB / 470.9 MB, free: 31.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.1918, allocations: 295.1 kB / 471.2 MB, free: 31.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.1928, allocations: 0.9581 MB / 472.1 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.1934, allocations: 1.86 MB / 474 MB, free: 30.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005675/0.194, allocations: 1.149 MB / 475.1 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.1979, allocations: 6.895 MB / 482 MB, free: 27.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1979, allocations: 1.344 kB / 482 MB, free: 27.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1979, allocations: 0 / 482 MB, free: 27.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.198, allocations: 0 / 482 MB, free: 27.67 MB / 410.7 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.00589/0.2039, allocations: 4.588 MB / 486.6 MB, free: 25.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2039, allocations: 14.22 kB / 486.6 MB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006886/0.2046, allocations: 0.7627 MB / 487.4 MB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/0.2112, allocations: 3.199 MB / 490.6 MB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.2143, allocations: 2.148 MB / 492.7 MB, free: 23.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.2144, allocations: 217.2 kB / 493 MB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.2148, allocations: 282.6 kB / 493.2 MB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.2259, allocations: 11.13 MB / 0.4925 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.2259, allocations: 27.94 kB / 0.4926 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2262, allocations: 130.7 kB / 0.4927 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/0.2287, allocations: 2.627 MB / 0.4953 GB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009054/0.2377, allocations: 10.36 MB / 0.5054 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.2664, allocations: 34.87 MB / 0.5394 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00481/0.2712, allocations: 3.586 MB / 0.5429 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.2731, allocations: 2.224 MB / 0.5451 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.2738, allocations: 457.2 kB / 0.5455 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2739, allocations: 52.56 kB / 0.5456 GB, free: 12.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 3.917e-06/0.2739, allocations: 4 kB / 0.5456 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02432/0.2982, allocations: 17.96 MB / 0.5631 GB, free: 10.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2982, allocations: 81.28 kB / 0.5632 GB, free: 10.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002643/0.3009, allocations: 3.073 MB / 0.5662 GB, free: 7.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.301, allocations: 53.7 kB / 0.5663 GB, free: 7.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.3024, allocations: 2.866 MB / 0.5691 GB, free: 4.137 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.3029, allocations: 0.9454 MB / 0.57 GB, free: 3.184 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009732/0.3039, allocations: 1.065 MB / 0.571 GB, free: 2.109 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.3039, allocations: 301.1 kB / 0.5713 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3061, allocations: 2.306 MB / 0.5736 GB, free: 15.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/0.3096, allocations: 5.217 MB / 0.5787 GB, free: 8.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.3161, allocations: 8.253 MB / 0.5867 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/0.3161, allocations: 32 kB / 0.5867 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008972/0.3251, allocations: 8.276 MB / 0.5948 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.3252, allocations: 51.94 kB / 0.5949 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.12e-05/0.3252, allocations: 100 kB / 0.595 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.3269, allocations: 0.9412 MB / 0.5959 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.3289, allocations: 1.213 MB / 0.5971 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.3334, allocations: 4.996 MB / 0.602 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.3354, allocations: 327.7 kB / 0.6023 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.3356, allocations: 311.9 kB / 0.6026 GB, free: 14.83 MB / 0.5105 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.002362/0.338, allocations: 2.148 MB / 0.6047 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.3383, allocations: 294 kB / 0.6049 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/0.3435, allocations: 5.133 MB / 0.61 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/0.3435, allocations: 36 kB / 0.61 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3435, allocations: 7.984 kB / 0.61 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3435, allocations: 11.91 kB / 0.61 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.3551, allocations: 11.5 MB / 0.6212 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.3551, allocations: 8 kB / 0.6212 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/0.356, allocations: 399.4 kB / 0.6216 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.3573, allocations: 0.7679 MB / 0.6224 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.3574, allocations: 56.06 kB / 0.6224 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003602/0.361, allocations: 4.261 MB / 0.6266 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.361, allocations: 19.88 kB / 0.6266 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.201/0.562, allocations: 7.612 MB / 0.634 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.5628, allocations: 290.3 kB / 0.6343 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.5631, allocations: 47.98 kB / 0.6344 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.5639, allocations: 176.5 kB / 0.6345 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.5641, allocations: 162.4 kB / 0.6347 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5642, allocations: 70.7 kB / 0.6348 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001735/0.566, allocations: 1.819 MB / 0.6365 GB, free: 143 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.566, allocations: 2.438 kB / 0.6365 GB, free: 143 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002657/0.5686, allocations: 1.03 MB / 0.6375 GB, free: 143 MB / 0.5261 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.006376/0.575, allocations: 8.281 MB / 0.6456 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.5796, allocations: 5.418 MB / 0.6509 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5796, allocations: 3.094 kB / 0.6509 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.5812, allocations: 2 MB / 0.6529 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5824, allocations: 411.4 kB / 0.6533 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03689/0.6193, allocations: 42.68 MB / 0.6949 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.6213, allocations: 2.835 MB / 0.6977 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002158/0.6235, allocations: 1.989 MB / 0.6997 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.6247, allocations: 1.835 MB / 0.7015 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.6247, allocations: 4 kB / 0.7015 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/0.6887, allocations: 61.45 MB / 0.7615 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.861/10.55, allocations: 15.67 kB / 0.7615 GB, free: 49.39 MB / 0.5261 GB " [Timeout remaining time 649] (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.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.595812658779323]