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.002095/0.002095, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002485/0.002485, allocations: 208.2 kB / 23.73 MB, free: 4.523 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2357/0.2357, allocations: 46.95 MB / 360.9 MB, free: 4.043 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: 68.14 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01498/0.3791, allocations: 11.79 MB / 0.5726 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009105/0.3882, allocations: 3.984 MB / 0.5765 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3902, allocations: 79.69 kB / 0.5766 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.3943, allocations: 1.783 MB / 0.5783 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.3995, allocations: 1.872 MB / 0.5801 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.4011, allocations: 0.5498 MB / 0.5807 GB, free: 20 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006/0.4071, allocations: 3.894 MB / 0.5845 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003961/0.4111, allocations: 2.281 MB / 0.5867 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.4139, allocations: 1.39 MB / 0.5881 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.4177, allocations: 2.138 MB / 0.5901 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.419, allocations: 292 kB / 0.5904 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.4221, allocations: 0.901 MB / 0.5913 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.4249, allocations: 1.792 MB / 0.593 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004403/0.4293, allocations: 1.51 MB / 0.5945 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.4396, allocations: 6.944 MB / 0.6013 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4396, allocations: 0 / 0.6013 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4396, allocations: 0 / 0.6013 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001526/0.4398, allocations: 0 / 0.6013 GB, free: 10.77 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.008407/0.4482, allocations: 4.566 MB / 0.6058 GB, free: 6.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.4482, allocations: 8.031 kB / 0.6058 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.4588, allocations: 3.145 MB / 0.6088 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/0.4643, allocations: 2.08 MB / 0.6109 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4645, allocations: 217.8 kB / 0.6111 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008868/0.4654, allocations: 295.7 kB / 0.6114 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.4851, allocations: 11.11 MB / 0.6222 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.4853, allocations: 31.75 kB / 0.6222 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008835/0.4861, allocations: 131.8 kB / 0.6224 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004967/0.4911, allocations: 2.632 MB / 0.6249 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.5148, allocations: 10.34 MB / 0.635 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06147/0.5763, allocations: 33.53 MB / 0.6678 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009619/0.5859, allocations: 3.469 MB / 0.6712 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.5896, allocations: 2.222 MB / 0.6733 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.5907, allocations: 449.2 kB / 0.6738 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.5907, allocations: 56.56 kB / 0.6738 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.752e-06/0.5907, allocations: 0 / 0.6738 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04535/0.6361, allocations: 17.47 MB / 0.6909 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.6362, allocations: 77.34 kB / 0.691 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/0.6412, allocations: 2.687 MB / 0.6936 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.6415, allocations: 61.7 kB / 0.6936 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.6441, allocations: 2.901 MB / 0.6965 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.6454, allocations: 0.9571 MB / 0.6974 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002231/0.6476, allocations: 1.08 MB / 0.6985 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6478, allocations: 305.1 kB / 0.6988 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/0.6515, allocations: 2.31 MB / 0.701 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006536/0.6581, allocations: 5.226 MB / 0.7061 GB, free: 12.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6688, allocations: 8.269 MB / 0.7142 GB, free: 2.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.223e-05/0.6689, allocations: 28 kB / 0.7142 GB, free: 2.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01495/0.6839, allocations: 8.284 MB / 0.7223 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.6839, allocations: 52.03 kB / 0.7224 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.6841, allocations: 100 kB / 0.7224 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.6869, allocations: 0.9483 MB / 0.7234 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/0.691, allocations: 1.22 MB / 0.7246 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/0.6983, allocations: 4.967 MB / 0.7294 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/0.7024, allocations: 303.7 kB / 0.7297 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007295/0.7031, allocations: 312 kB / 0.73 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.004295/0.7074, allocations: 2.147 MB / 0.7321 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3374/1.045, allocations: 267.9 kB / 0.7324 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009716/1.055, allocations: 5.115 MB / 0.7373 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/1.055, allocations: 50.02 kB / 0.7374 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.055, allocations: 7.531 kB / 0.7374 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.055, allocations: 7.547 kB / 0.7374 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/1.071, allocations: 10.38 MB / 0.7475 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.071, allocations: 12.28 kB / 0.7476 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.073, allocations: 399.2 kB / 0.7479 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/1.075, allocations: 0.7749 MB / 0.7487 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.075, allocations: 58.64 kB / 0.7488 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/1.079, allocations: 4.212 MB / 0.7529 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.079, allocations: 17.91 kB / 0.7529 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008508/1.088, allocations: 7.615 MB / 0.7603 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008236/1.088, allocations: 235.3 kB / 0.7605 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/1.089, allocations: 51.98 kB / 0.7606 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.09, allocations: 143.8 kB / 0.7607 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/1.09, allocations: 160.8 kB / 0.7609 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.09, allocations: 75.81 kB / 0.761 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001776/1.092, allocations: 1.518 MB / 0.7624 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.092, allocations: 0 / 0.7624 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003711/1.096, allocations: 0.9611 MB / 0.7634 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.0004161/1.096, allocations: 186.8 kB / 0.7636 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006287/1.103, allocations: 5.441 MB / 0.7689 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.103, allocations: 0 / 0.7689 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.105, allocations: 2.001 MB / 0.7708 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1.106, allocations: 319 kB / 0.7711 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.121, allocations: 10.34 MB / 0.7812 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/1.124, allocations: 2.837 MB / 0.784 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003505/1.128, allocations: 1.957 MB / 0.7859 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/1.128, allocations: 211.4 kB / 0.7861 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.128, allocations: 0 / 0.7861 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05266/1.181, allocations: 33.04 MB / 0.8184 GB, free: 78.95 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.268396304920316]