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.001788/0.001788, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001482/0.001482, allocations: 170.7 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.467/1.467, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2174/0.2174, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.752e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2313/0.2314, allocations: 11.79 MB / 454.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008535/0.2399, allocations: 3.994 MB / 458.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.242, allocations: 79.69 kB / 458.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004492/0.2464, allocations: 1.867 MB / 460.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.2526, allocations: 1.912 MB / 462.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2544, allocations: 0.5943 MB / 462.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007192/0.2616, allocations: 4.272 MB / 467.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/0.2659, allocations: 2.537 MB / 469.7 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.2709, allocations: 2.114 MB / 471.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.2746, allocations: 2.138 MB / 474 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.2759, allocations: 295.2 kB / 474.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.2787, allocations: 0.9663 MB / 475.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002151/0.2808, allocations: 1.852 MB / 477.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.2831, allocations: 1.144 MB / 478.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008289/0.2914, allocations: 6.89 MB / 485.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2914, allocations: 0 / 485.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2914, allocations: 0 / 485.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.2916, allocations: 0 / 485.1 MB, free: 11.57 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.01001/0.3016, allocations: 4.569 MB / 489.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3016, allocations: 12.03 kB / 489.7 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.3134, allocations: 3.199 MB / 492.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.3183, allocations: 2.075 MB / 495 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.3186, allocations: 217.8 kB / 495.2 MB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000884/0.3195, allocations: 284.2 kB / 495.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/0.3398, allocations: 11.12 MB / 0.4947 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.3399, allocations: 35.69 kB / 0.4948 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/0.3404, allocations: 135.8 kB / 0.4949 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004874/0.3453, allocations: 2.62 MB / 0.4974 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.3664, allocations: 10.36 MB / 0.5076 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06044/0.4269, allocations: 33.73 MB / 0.5405 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.437, allocations: 3.594 MB / 0.544 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/0.441, allocations: 2.224 MB / 0.5462 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.442, allocations: 437.3 kB / 0.5466 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.4421, allocations: 52.55 kB / 0.5466 GB, free: 15.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.773e-06/0.4421, allocations: 0 / 0.5466 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04737/0.4894, allocations: 17.95 MB / 0.5642 GB, free: 13.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.4895, allocations: 73.41 kB / 0.5642 GB, free: 13.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.4956, allocations: 2.765 MB / 0.5669 GB, free: 10.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.4959, allocations: 61.7 kB / 0.567 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002356/0.4983, allocations: 2.878 MB / 0.5698 GB, free: 7.629 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.4995, allocations: 0.9454 MB / 0.5707 GB, free: 6.676 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/0.5016, allocations: 1.065 MB / 0.5718 GB, free: 5.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5017, allocations: 305.1 kB / 0.5721 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/0.5057, allocations: 2.318 MB / 0.5743 GB, free: 2.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006548/0.5123, allocations: 5.222 MB / 0.5794 GB, free: 12.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.5243, allocations: 8.265 MB / 0.5875 GB, free: 2.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/0.5245, allocations: 28 kB / 0.5875 GB, free: 2.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01987/0.5443, allocations: 8.287 MB / 0.5956 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.5445, allocations: 51.94 kB / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/0.5447, allocations: 100 kB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/0.5478, allocations: 0.9444 MB / 0.5967 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/0.5524, allocations: 1.224 MB / 0.5979 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.5602, allocations: 4.963 MB / 0.6027 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/0.5655, allocations: 331.7 kB / 0.6031 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.5666, allocations: 304 kB / 0.6033 GB, free: 2.312 MB / 0.4981 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 (657): * Single equations (assignments): 650 * 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.004781/0.5714, allocations: 2.151 MB / 0.6054 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000765/0.5722, allocations: 270.4 kB / 0.6057 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.5827, allocations: 5.122 MB / 0.6107 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.971e-05/0.5828, allocations: 44 kB / 0.6107 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.5828, allocations: 4 kB / 0.6107 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.5828, allocations: 15.95 kB / 0.6108 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/0.6061, allocations: 10.46 MB / 0.621 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/0.6062, allocations: 8 kB / 0.621 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.6081, allocations: 395.5 kB / 0.6214 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/0.6108, allocations: 0.7779 MB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/0.6111, allocations: 48 kB / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/0.6178, allocations: 4.243 MB / 0.6263 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/0.6178, allocations: 19.88 kB / 0.6263 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.6318, allocations: 7.593 MB / 0.6337 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.6328, allocations: 262.2 kB / 0.634 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006926/0.6335, allocations: 48 kB / 0.634 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.6356, allocations: 171.7 kB / 0.6342 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.6362, allocations: 168.7 kB / 0.6344 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.6364, allocations: 71.98 kB / 0.6344 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003527/0.64, allocations: 1.577 MB / 0.636 GB, free: 408 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.64, allocations: 0 / 0.636 GB, free: 408 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.2571/0.8971, allocations: 1.025 MB / 0.637 GB, free: 167.6 MB / 0.5294 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.0006685/0.8978, allocations: 211.2 kB / 0.6372 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008478/0.9062, allocations: 5.425 MB / 0.6425 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.9063, allocations: 1.375 kB / 0.6425 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.9095, allocations: 1.995 MB / 0.6444 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.9118, allocations: 314.9 kB / 0.6447 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.9321, allocations: 10.27 MB / 0.6548 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005949/0.9381, allocations: 2.838 MB / 0.6575 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004719/0.9428, allocations: 1.96 MB / 0.6594 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.9439, allocations: 214.3 kB / 0.6596 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/0.9439, allocations: 0 / 0.6596 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.05329/0.9972, allocations: 27.63 MB / 0.6866 GB, free: 143.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/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: 6.846982214599848]