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.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001455/0.001455, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2404/0.2404, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.002065/0.002065, allocations: 67.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0154/0.3782, allocations: 11.79 MB / 0.5726 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.3891, allocations: 3.984 MB / 0.5765 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.3912, allocations: 75.75 kB / 0.5766 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.395, allocations: 1.779 MB / 0.5783 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.3998, allocations: 1.879 MB / 0.5801 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4012, allocations: 0.5536 MB / 0.5807 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.407, allocations: 3.885 MB / 0.5845 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.4106, allocations: 2.274 MB / 0.5867 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.4132, allocations: 1.394 MB / 0.588 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.4174, allocations: 2.036 MB / 0.59 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.4189, allocations: 299.9 kB / 0.5903 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.4213, allocations: 0.8893 MB / 0.5912 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.4232, allocations: 1.784 MB / 0.5929 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.4251, allocations: 1.514 MB / 0.5944 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008148/0.4332, allocations: 6.939 MB / 0.6012 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4332, allocations: 0 / 0.6012 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4332, allocations: 0 / 0.6012 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.4334, allocations: 0 / 0.6012 GB, free: 10.89 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.009754/0.4431, allocations: 4.573 MB / 0.6057 GB, free: 6.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4432, allocations: 8.031 kB / 0.6057 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.4553, allocations: 3.141 MB / 0.6087 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007634/0.4629, allocations: 2.08 MB / 0.6108 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.4631, allocations: 217.8 kB / 0.611 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/0.464, allocations: 295.7 kB / 0.6112 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.4858, allocations: 11.11 MB / 0.6221 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4859, allocations: 31.75 kB / 0.6221 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/0.4864, allocations: 135.8 kB / 0.6223 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005504/0.4919, allocations: 2.62 MB / 0.6248 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.5156, allocations: 10.34 MB / 0.6349 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06241/0.578, allocations: 33.54 MB / 0.6677 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/0.5878, allocations: 3.473 MB / 0.6711 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/0.5919, allocations: 2.218 MB / 0.6732 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.5929, allocations: 445.3 kB / 0.6737 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/0.593, allocations: 56.5 kB / 0.6737 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.052e-06/0.593, allocations: 0 / 0.6737 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04778/0.6408, allocations: 17.47 MB / 0.6908 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.6409, allocations: 73.41 kB / 0.6908 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/0.646, allocations: 2.687 MB / 0.6935 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004408/0.6464, allocations: 61.69 kB / 0.6935 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002665/0.6491, allocations: 2.905 MB / 0.6964 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.6505, allocations: 0.961 MB / 0.6973 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002501/0.653, allocations: 1.08 MB / 0.6983 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6532, allocations: 301.1 kB / 0.6986 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/0.6574, allocations: 2.314 MB / 0.7009 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007388/0.6648, allocations: 5.222 MB / 0.706 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.6773, allocations: 8.28 MB / 0.7141 GB, free: 2.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/0.6774, allocations: 32 kB / 0.7141 GB, free: 2.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01862/0.696, allocations: 8.279 MB / 0.7222 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.6962, allocations: 48 kB / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/0.6964, allocations: 100 kB / 0.7223 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/0.6995, allocations: 0.9377 MB / 0.7233 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004661/0.7042, allocations: 1.228 MB / 0.7245 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/0.712, allocations: 4.971 MB / 0.7293 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/0.7161, allocations: 291.8 kB / 0.7296 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/0.7173, allocations: 308 kB / 0.7299 GB, free: 2.547 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.005069/0.7223, allocations: 2.154 MB / 0.732 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/0.7231, allocations: 274.2 kB / 0.7322 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3269/1.05, allocations: 5.108 MB / 0.7372 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/1.05, allocations: 47.27 kB / 0.7373 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.05, allocations: 3.938 kB / 0.7373 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.05, allocations: 15.41 kB / 0.7373 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.066, allocations: 10.37 MB / 0.7474 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.066, allocations: 14.75 kB / 0.7474 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.067, allocations: 395.8 kB / 0.7478 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/1.069, allocations: 0.7785 MB / 0.7486 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/1.069, allocations: 52 kB / 0.7486 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/1.074, allocations: 4.218 MB / 0.7527 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.074, allocations: 16.88 kB / 0.7528 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008759/1.082, allocations: 7.604 MB / 0.7602 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.083, allocations: 239.6 kB / 0.7604 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.084, allocations: 55.11 kB / 0.7605 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.085, allocations: 147.6 kB / 0.7606 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/1.085, allocations: 168.7 kB / 0.7608 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.085, allocations: 68 kB / 0.7608 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00174/1.087, allocations: 1.518 MB / 0.7623 GB, free: 136 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.087, allocations: 3.719 kB / 0.7623 GB, free: 136 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003688/1.09, allocations: 0.9628 MB / 0.7633 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.0004049/1.091, allocations: 183.7 kB / 0.7634 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006658/1.098, allocations: 5.444 MB / 0.7688 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.098, allocations: 0 / 0.7688 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.1, allocations: 1.995 MB / 0.7707 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.001774/1.101, allocations: 313.8 kB / 0.771 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.115, allocations: 10.35 MB / 0.7811 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/1.118, allocations: 2.827 MB / 0.7839 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003626/1.122, allocations: 1.961 MB / 0.7858 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/1.122, allocations: 207.4 kB / 0.786 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.122, allocations: 0 / 0.786 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05018/1.173, allocations: 30.64 MB / 0.8159 GB, free: 81.42 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 -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: 7.220390595495701]