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.00176/0.00176, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002133/0.002133, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.2535/0.2535, allocations: 34.27 MB / 295.5 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] 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.0021/0.0021, allocations: 71.88 kB / 443.2 MB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 66 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01037/0.3545, allocations: 11.79 MB / 0.5087 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007698/0.3622, allocations: 3.988 MB / 0.5126 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.3638, allocations: 75.59 kB / 0.5127 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.3673, allocations: 1.777 MB / 0.5145 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.3717, allocations: 1.873 MB / 0.5163 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.373, allocations: 0.5522 MB / 0.5168 GB, free: 17.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004869/0.3778, allocations: 3.886 MB / 0.5206 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.3809, allocations: 2.269 MB / 0.5228 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.3835, allocations: 1.396 MB / 0.5242 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.3869, allocations: 2.032 MB / 0.5262 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.388, allocations: 291.4 kB / 0.5265 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.3909, allocations: 0.8957 MB / 0.5273 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003069/0.394, allocations: 1.788 MB / 0.5291 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.3968, allocations: 1.515 MB / 0.5306 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009551/0.4064, allocations: 6.939 MB / 0.5373 GB, free: 8.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4064, allocations: 0 / 0.5373 GB, free: 8.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4064, allocations: 0 / 0.5373 GB, free: 8.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002257/0.4066, allocations: 0 / 0.5373 GB, free: 8.527 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.009391/0.416, allocations: 4.567 MB / 0.5418 GB, free: 5.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4161, allocations: 9.125 kB / 0.5418 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.427, allocations: 3.192 MB / 0.5449 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.4325, allocations: 2.084 MB / 0.547 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.4327, allocations: 218 kB / 0.5472 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.4341, allocations: 295.4 kB / 0.5474 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.4525, allocations: 11.12 MB / 0.5583 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.922e-05/0.4526, allocations: 27.77 kB / 0.5583 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004337/0.4531, allocations: 127.8 kB / 0.5584 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00476/0.4578, allocations: 2.636 MB / 0.561 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.4797, allocations: 10.35 MB / 0.5711 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05481/0.5345, allocations: 33.71 MB / 0.604 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009092/0.5436, allocations: 3.585 MB / 0.6075 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.5468, allocations: 2.227 MB / 0.6097 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.5477, allocations: 445.3 kB / 0.6101 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.5477, allocations: 56.56 kB / 0.6102 GB, free: 428 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.569e-06/0.5477, allocations: 0 / 0.6102 GB, free: 428 kB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04194/0.5897, allocations: 17.88 MB / 0.6277 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.5898, allocations: 73.41 kB / 0.6277 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.5936, allocations: 2.687 MB / 0.6304 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.5939, allocations: 65.61 kB / 0.6304 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.596, allocations: 2.905 MB / 0.6333 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.5971, allocations: 0.9532 MB / 0.6342 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.5988, allocations: 1.084 MB / 0.6352 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.599, allocations: 301.1 kB / 0.6355 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/0.6025, allocations: 2.314 MB / 0.6378 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00576/0.6083, allocations: 5.222 MB / 0.6429 GB, free: 13.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.6187, allocations: 8.273 MB / 0.651 GB, free: 3.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-05/0.6187, allocations: 28 kB / 0.651 GB, free: 3.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01543/0.6342, allocations: 8.276 MB / 0.6591 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.6342, allocations: 52.06 kB / 0.6591 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.6344, allocations: 108 kB / 0.6592 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.6373, allocations: 0.9448 MB / 0.6602 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/0.6417, allocations: 1.228 MB / 0.6614 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/0.6494, allocations: 4.967 MB / 0.6662 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.653, allocations: 299.8 kB / 0.6665 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/0.6535, allocations: 308 kB / 0.6668 GB, free: 3.418 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.003762/0.6573, allocations: 2.146 MB / 0.6689 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.6577, allocations: 270.2 kB / 0.6691 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/0.667, allocations: 5.111 MB / 0.6741 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-05/0.667, allocations: 51.89 kB / 0.6742 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.667, allocations: 4 kB / 0.6742 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.6671, allocations: 12.05 kB / 0.6742 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.6855, allocations: 10.42 MB / 0.6844 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.6855, allocations: 12.16 kB / 0.6844 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.6872, allocations: 399.4 kB / 0.6848 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.6896, allocations: 0.7692 MB / 0.6855 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/0.6898, allocations: 56.02 kB / 0.6856 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.6958, allocations: 4.221 MB / 0.6897 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.6958, allocations: 11.94 kB / 0.6897 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.7078, allocations: 7.605 MB / 0.6971 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.7085, allocations: 246.1 kB / 0.6974 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.7088, allocations: 55.91 kB / 0.6974 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.7101, allocations: 147.8 kB / 0.6976 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.7104, allocations: 164.8 kB / 0.6977 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.7106, allocations: 68 kB / 0.6978 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002353/0.7129, allocations: 1.522 MB / 0.6993 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7129, allocations: 0 / 0.6993 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003954/0.7169, allocations: 0.9609 MB / 0.7002 GB, free: 0.6797 MB / 0.5919 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.0004243/0.7173, allocations: 190.7 kB / 0.7004 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2314/0.9487, allocations: 5.427 MB / 0.7057 GB, free: 167 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.9488, allocations: 5.188 kB / 0.7057 GB, free: 167 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.9512, allocations: 1.996 MB / 0.7076 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.953, allocations: 309.6 kB / 0.7079 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.9679, allocations: 10.35 MB / 0.718 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/0.9718, allocations: 2.835 MB / 0.7208 GB, free: 161 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004595/0.9764, allocations: 1.965 MB / 0.7227 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.9771, allocations: 203.4 kB / 0.7229 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.9771, allocations: 0 / 0.7229 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.0514/1.029, allocations: 26.42 MB / 0.7487 GB, free: 153.4 MB / 0.5919 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 ida -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.768137280945666]