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.001385/0.001385, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001463/0.001463, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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.2252/0.2252, allocations: 46.96 MB / 361.6 MB, free: 4.023 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 0.002023/0.002023, allocations: 59.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01479/0.312, allocations: 11.8 MB / 0.5733 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008491/0.3205, allocations: 3.984 MB / 0.5772 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3221, allocations: 75.75 kB / 0.5773 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.3257, allocations: 1.779 MB / 0.579 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.3301, allocations: 1.876 MB / 0.5809 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3314, allocations: 0.5497 MB / 0.5814 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.3364, allocations: 3.893 MB / 0.5852 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.3394, allocations: 2.285 MB / 0.5874 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.3416, allocations: 1.401 MB / 0.5888 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.3447, allocations: 2.13 MB / 0.5909 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007112/0.3454, allocations: 292 kB / 0.5912 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.3473, allocations: 0.901 MB / 0.592 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.3491, allocations: 1.784 MB / 0.5938 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.3509, allocations: 1.514 MB / 0.5953 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008038/0.3589, allocations: 6.939 MB / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3589, allocations: 3.984 kB / 0.602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3589, allocations: 4 kB / 0.602 GB, free: 10.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001314/0.359, allocations: 0 / 0.602 GB, free: 10.76 MB / 446.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.008241/0.3673, allocations: 4.569 MB / 0.6065 GB, free: 6.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3673, allocations: 8.031 kB / 0.6065 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.3781, allocations: 3.141 MB / 0.6096 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.3835, allocations: 2.08 MB / 0.6116 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.3837, allocations: 217.8 kB / 0.6118 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.3844, allocations: 295.7 kB / 0.6121 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.402, allocations: 11.12 MB / 0.623 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.426e-05/0.4021, allocations: 27.77 kB / 0.623 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.4025, allocations: 135.8 kB / 0.6231 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004452/0.407, allocations: 2.62 MB / 0.6257 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.4267, allocations: 10.35 MB / 0.6358 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05326/0.4799, allocations: 33.52 MB / 0.6685 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008804/0.4887, allocations: 3.481 MB / 0.6719 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/0.4919, allocations: 2.217 MB / 0.6741 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009039/0.4929, allocations: 441.3 kB / 0.6745 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.4929, allocations: 56.56 kB / 0.6746 GB, free: 15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.658e-06/0.4929, allocations: 0 / 0.6746 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04153/0.5344, allocations: 17.47 MB / 0.6916 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.5345, allocations: 73.41 kB / 0.6917 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/0.5387, allocations: 2.687 MB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.5389, allocations: 57.69 kB / 0.6944 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.5412, allocations: 2.905 MB / 0.6972 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.5423, allocations: 0.961 MB / 0.6981 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.5439, allocations: 1.076 MB / 0.6992 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5441, allocations: 309.1 kB / 0.6995 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/0.5478, allocations: 2.318 MB / 0.7018 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006132/0.5539, allocations: 5.222 MB / 0.7069 GB, free: 12.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5645, allocations: 8.273 MB / 0.7149 GB, free: 2.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.556e-05/0.5646, allocations: 39.94 kB / 0.715 GB, free: 2.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01501/0.5796, allocations: 8.272 MB / 0.723 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.5797, allocations: 50.66 kB / 0.7231 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.5798, allocations: 104 kB / 0.7232 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/0.5828, allocations: 0.945 MB / 0.7241 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.5868, allocations: 1.224 MB / 0.7253 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.5944, allocations: 4.967 MB / 0.7302 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/0.5974, allocations: 295.8 kB / 0.7304 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006193/0.598, allocations: 308 kB / 0.7307 GB, free: 2.414 MB / 0.5606 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.003557/0.6016, allocations: 2.143 MB / 0.7328 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.271/0.8726, allocations: 276.6 kB / 0.7331 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.8836, allocations: 5.113 MB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.8837, allocations: 45.16 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.8837, allocations: 7.719 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/0.8837, allocations: 9.938 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.9008, allocations: 10.39 MB / 0.7483 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.9009, allocations: 7.844 kB / 0.7483 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.9023, allocations: 400.1 kB / 0.7487 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.9045, allocations: 0.7749 MB / 0.7494 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.9047, allocations: 49.53 kB / 0.7495 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/0.909, allocations: 4.223 MB / 0.7536 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.909, allocations: 15.94 kB / 0.7536 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008684/0.9177, allocations: 7.608 MB / 0.7611 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/0.9183, allocations: 236.5 kB / 0.7613 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/0.9189, allocations: 55.92 kB / 0.7613 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9202, allocations: 147.5 kB / 0.7615 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.9205, allocations: 156.8 kB / 0.7616 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9207, allocations: 71.98 kB / 0.7617 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002387/0.9231, allocations: 1.518 MB / 0.7632 GB, free: 136 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.9231, allocations: 0 / 0.7632 GB, free: 136 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003942/0.927, allocations: 0.9625 MB / 0.7641 GB, free: 135 MB / 0.5606 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.0004242/0.9274, allocations: 189.2 kB / 0.7643 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006261/0.9337, allocations: 5.433 MB / 0.7696 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9337, allocations: 4 kB / 0.7696 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.9359, allocations: 2.004 MB / 0.7716 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.9379, allocations: 297.7 kB / 0.7718 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.9522, allocations: 10.35 MB / 0.782 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003715/0.9559, allocations: 2.835 MB / 0.7847 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003874/0.9598, allocations: 1.961 MB / 0.7866 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/0.9606, allocations: 207.4 kB / 0.7868 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/0.9606, allocations: 0 / 0.7868 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05094/1.012, allocations: 33.05 MB / 0.8191 GB, free: 78.96 MB / 0.5606 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/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.639347488002386]