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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008735/0.0008735, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008249/0.0008249, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8732/0.8732, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.879e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1755/0.1756, allocations: 11.79 MB / 454 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1794, allocations: 3.982 MB / 457.9 MB, free: 35.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.1799, allocations: 78.94 kB / 458 MB, free: 35.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.1813, allocations: 1.86 MB / 459.9 MB, free: 34.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1828, allocations: 1.926 MB / 461.8 MB, free: 33.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1832, allocations: 0.5954 MB / 462.4 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.1848, allocations: 4.259 MB / 466.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.186, allocations: 2.536 MB / 469.2 MB, free: 30.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009942/0.187, allocations: 2.111 MB / 471.3 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1881, allocations: 2.134 MB / 473.4 MB, free: 29.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.1883, allocations: 294.8 kB / 473.7 MB, free: 29.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.189, allocations: 0.9691 MB / 474.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.1897, allocations: 1.849 MB / 476.5 MB, free: 28.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.1902, allocations: 1.148 MB / 477.7 MB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.1941, allocations: 6.901 MB / 484.6 MB, free: 25.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1941, allocations: 0 / 484.6 MB, free: 25.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1941, allocations: 1.062 kB / 484.6 MB, free: 25.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.535e-05/0.1942, allocations: 0 / 484.6 MB, free: 25.06 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.00479/0.199, allocations: 4.584 MB / 489.2 MB, free: 22.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.199, allocations: 9.812 kB / 489.2 MB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000636/0.1997, allocations: 0.7673 MB / 490 MB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.2058, allocations: 3.196 MB / 493.2 MB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.2088, allocations: 2.147 MB / 495.3 MB, free: 20.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2089, allocations: 217.5 kB / 495.5 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/0.2093, allocations: 286.4 kB / 495.8 MB, free: 20.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.2194, allocations: 11.13 MB / 0.495 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.2195, allocations: 27.28 kB / 0.4951 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.2198, allocations: 135 kB / 0.4952 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002185/0.222, allocations: 2.628 MB / 0.4978 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.2306, allocations: 10.35 MB / 0.5079 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.2594, allocations: 34.88 MB / 0.5419 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/0.2644, allocations: 3.588 MB / 0.5454 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.2665, allocations: 2.22 MB / 0.5476 GB, free: 8.773 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/0.267, allocations: 445.2 kB / 0.548 GB, free: 8.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.267, allocations: 60.5 kB / 0.5481 GB, free: 8.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 4.318e-06/0.2671, allocations: 0 / 0.5481 GB, free: 8.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02322/0.2903, allocations: 17.96 MB / 0.5656 GB, free: 6.301 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2903, allocations: 77.34 kB / 0.5657 GB, free: 6.211 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.2932, allocations: 3.073 MB / 0.5687 GB, free: 3.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.2933, allocations: 53.7 kB / 0.5688 GB, free: 3.062 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.2945, allocations: 2.866 MB / 0.5716 GB, free: 172 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/0.295, allocations: 0.9456 MB / 0.5725 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009587/0.296, allocations: 1.061 MB / 0.5735 GB, free: 14.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.296, allocations: 309.1 kB / 0.5738 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.2982, allocations: 2.302 MB / 0.5761 GB, free: 11.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.3014, allocations: 5.214 MB / 0.5811 GB, free: 4.895 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/0.3076, allocations: 8.257 MB / 0.5892 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.3076, allocations: 32 kB / 0.5892 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008707/0.3163, allocations: 8.279 MB / 0.5973 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.3164, allocations: 48 kB / 0.5974 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/0.3165, allocations: 100 kB / 0.5975 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.3179, allocations: 0.9452 MB / 0.5984 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.3199, allocations: 1.216 MB / 0.5996 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.3245, allocations: 4.994 MB / 0.6045 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.3263, allocations: 327.7 kB / 0.6048 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.3266, allocations: 308 kB / 0.6051 GB, free: 10.86 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.002916/0.3295, allocations: 2.15 MB / 0.6072 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.3298, allocations: 298 kB / 0.6074 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.335, allocations: 5.109 MB / 0.6124 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/0.335, allocations: 44 kB / 0.6125 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.335, allocations: 4 kB / 0.6125 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.335, allocations: 11.95 kB / 0.6125 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.3474, allocations: 11.51 MB / 0.6237 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.3474, allocations: 8 kB / 0.6237 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/0.3482, allocations: 403.3 kB / 0.6241 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.3495, allocations: 0.7779 MB / 0.6249 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3496, allocations: 47.98 kB / 0.6249 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.3534, allocations: 4.27 MB / 0.6291 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3534, allocations: 20 kB / 0.6291 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1731/0.5265, allocations: 7.602 MB / 0.6365 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/0.527, allocations: 293.1 kB / 0.6368 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.5272, allocations: 50.42 kB / 0.6369 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.5279, allocations: 178.9 kB / 0.637 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.5281, allocations: 166.1 kB / 0.6372 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/0.5282, allocations: 69.09 kB / 0.6373 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001728/0.53, allocations: 1.813 MB / 0.639 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.53, allocations: 0 / 0.639 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002719/0.5327, allocations: 1.039 MB / 0.64 GB, free: 149.8 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.005957/0.5386, allocations: 8.279 MB / 0.6481 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004542/0.5432, allocations: 5.413 MB / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5432, allocations: 0 / 0.6534 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5449, allocations: 2.011 MB / 0.6554 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5463, allocations: 404.2 kB / 0.6558 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04339/0.5897, allocations: 42.69 MB / 0.6975 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.5919, allocations: 2.834 MB / 0.7002 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002317/0.5942, allocations: 1.989 MB / 0.7022 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.5956, allocations: 1.842 MB / 0.704 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/0.5956, allocations: 0 / 0.704 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/0.6682, allocations: 61.44 MB / 0.764 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.863, allocations: 0 / 0.764 GB, free: 52.43 MB / 0.5261 GB " [Timeout remaining time 650] (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.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 11.976427973248065]