Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008282/0.0008282, 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.0008626/0.0008626, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8728/0.8728, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.259/0.259, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.746e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1724/0.1725, allocations: 11.8 MB / 454 MB, free: 37.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1769, allocations: 3.985 MB / 458 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.1775, allocations: 80.19 kB / 458 MB, free: 35.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1791, allocations: 1.857 MB / 459.9 MB, free: 34.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1807, allocations: 1.927 MB / 461.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.1813, allocations: 0.5925 MB / 462.4 MB, free: 33.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.1832, allocations: 4.271 MB / 466.7 MB, free: 31.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.1845, allocations: 2.523 MB / 469.2 MB, free: 30.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1856, allocations: 2.112 MB / 471.3 MB, free: 29.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.1869, allocations: 2.14 MB / 473.5 MB, free: 29.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.1871, allocations: 293.4 kB / 473.7 MB, free: 29.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.188, allocations: 0.9654 MB / 474.7 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000679/0.1887, allocations: 1.854 MB / 476.6 MB, free: 28.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.1892, allocations: 1.147 MB / 477.7 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.1931, allocations: 6.892 MB / 484.6 MB, free: 25.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1931, allocations: 1.609 kB / 484.6 MB, free: 25.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1931, allocations: 0 / 484.6 MB, free: 25.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.212e-05/0.1932, allocations: 0 / 484.6 MB, free: 25.21 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.005102/0.1983, allocations: 4.588 MB / 489.2 MB, free: 22.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1983, allocations: 9.188 kB / 489.2 MB, free: 22.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006602/0.199, allocations: 0.7716 MB / 490 MB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.2057, allocations: 3.199 MB / 493.2 MB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.2085, allocations: 2.148 MB / 495.3 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.2086, allocations: 216.7 kB / 495.5 MB, free: 20.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004567/0.209, allocations: 288.3 kB / 495.8 MB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009965/0.219, allocations: 11.13 MB / 0.4951 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-05/0.2191, allocations: 22.66 kB / 0.4951 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.2194, allocations: 130.9 kB / 0.4952 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.2216, allocations: 2.634 MB / 0.4978 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009885/0.2315, allocations: 10.35 MB / 0.5079 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.2626, allocations: 34.87 MB / 0.5419 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.2676, allocations: 3.594 MB / 0.5455 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.2695, allocations: 2.23 MB / 0.5476 GB, free: 8.875 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/0.27, allocations: 441.1 kB / 0.5481 GB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2701, allocations: 56.56 kB / 0.5481 GB, free: 8.379 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 3.867e-06/0.2701, allocations: 0 / 0.5481 GB, free: 8.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02477/0.2948, allocations: 17.96 MB / 0.5656 GB, free: 6.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2949, allocations: 81.28 kB / 0.5657 GB, free: 6.316 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.2978, allocations: 3.07 MB / 0.5687 GB, free: 3.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.2979, allocations: 61.7 kB / 0.5688 GB, free: 3.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.2994, allocations: 2.87 MB / 0.5716 GB, free: 272 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.3, allocations: 0.9376 MB / 0.5725 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009848/0.301, allocations: 1.061 MB / 0.5735 GB, free: 14.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.301, allocations: 309.1 kB / 0.5738 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.3032, allocations: 2.306 MB / 0.5761 GB, free: 11.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.3069, allocations: 5.21 MB / 0.5812 GB, free: 5.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006361/0.3133, allocations: 8.253 MB / 0.5892 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/0.3133, allocations: 32 kB / 0.5893 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01006/0.3233, allocations: 8.276 MB / 0.5973 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.3234, allocations: 51.94 kB / 0.5974 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.389e-05/0.3235, allocations: 104 kB / 0.5975 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.3251, allocations: 0.9414 MB / 0.5984 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.3273, allocations: 1.217 MB / 0.5996 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/0.332, allocations: 4.995 MB / 0.6045 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.3341, allocations: 323.7 kB / 0.6048 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/0.3344, allocations: 309.2 kB / 0.6051 GB, free: 10.97 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.002717/0.3371, allocations: 2.155 MB / 0.6072 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.3374, allocations: 294 kB / 0.6075 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005552/0.343, allocations: 5.121 MB / 0.6125 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/0.343, allocations: 51.92 kB / 0.6125 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.343, allocations: 0 / 0.6125 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.343, allocations: 11.95 kB / 0.6125 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.3552, allocations: 11.49 MB / 0.6237 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.3552, allocations: 12 kB / 0.6238 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.3562, allocations: 396.3 kB / 0.6241 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.3575, allocations: 0.7778 MB / 0.6249 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.3577, allocations: 55.98 kB / 0.625 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.3617, allocations: 4.269 MB / 0.6291 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.3617, allocations: 12 kB / 0.6291 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1813/0.543, allocations: 7.613 MB / 0.6366 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.5437, allocations: 294.4 kB / 0.6368 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5439, allocations: 46.58 kB / 0.6369 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.5447, allocations: 180.9 kB / 0.6371 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.5449, allocations: 157.6 kB / 0.6372 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.545, allocations: 76.64 kB / 0.6373 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00175/0.5468, allocations: 1.813 MB / 0.6391 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5468, allocations: 0 / 0.6391 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002799/0.5496, allocations: 1.031 MB / 0.6401 GB, free: 150.1 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.006212/0.5558, allocations: 8.293 MB / 0.6482 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.5606, allocations: 5.401 MB / 0.6534 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.5606, allocations: 2.938 kB / 0.6534 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.5626, allocations: 2.002 MB / 0.6554 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.564, allocations: 411.5 kB / 0.6558 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/0.6063, allocations: 42.69 MB / 0.6975 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.6084, allocations: 2.833 MB / 0.7002 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002384/0.6108, allocations: 1.989 MB / 0.7022 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.6122, allocations: 1.844 MB / 0.704 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/0.6122, allocations: 0 / 0.704 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.6771, allocations: 61.46 MB / 0.764 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.862, allocations: 4.062 kB / 0.764 GB, free: 52.65 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 11.981536245904863]