Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 79.88 kB / 443.2 MB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.33, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009635/0.3397, allocations: 11.79 MB / 0.5088 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.347, allocations: 3.986 MB / 0.5127 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.3488, allocations: 83 kB / 0.5128 GB, free: 19.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.3521, allocations: 1.779 MB / 0.5145 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.3563, allocations: 1.879 MB / 0.5163 GB, free: 18.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3576, allocations: 0.5489 MB / 0.5169 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005566/0.3632, allocations: 3.893 MB / 0.5207 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004977/0.3682, allocations: 2.268 MB / 0.5229 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.3713, allocations: 1.396 MB / 0.5243 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.375, allocations: 2.033 MB / 0.5262 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.376, allocations: 294.9 kB / 0.5265 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.379, allocations: 0.8937 MB / 0.5274 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.3812, allocations: 1.783 MB / 0.5291 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.3832, allocations: 1.514 MB / 0.5306 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.3925, allocations: 6.939 MB / 0.5374 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3926, allocations: 1.219 kB / 0.5374 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3926, allocations: 0 / 0.5374 GB, free: 8.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.3928, allocations: 0 / 0.5374 GB, free: 8.41 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.01003/0.4028, allocations: 4.575 MB / 0.5419 GB, free: 5.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4028, allocations: 9.188 kB / 0.5419 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4136, allocations: 3.188 MB / 0.545 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.4187, allocations: 2.084 MB / 0.547 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.4188, allocations: 213.3 kB / 0.5472 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000806/0.4196, allocations: 295.9 kB / 0.5475 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.4383, allocations: 11.12 MB / 0.5584 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.4384, allocations: 35.75 kB / 0.5584 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004369/0.4389, allocations: 127.8 kB / 0.5585 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004704/0.4436, allocations: 2.62 MB / 0.5611 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.4647, allocations: 10.36 MB / 0.5712 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.5242, allocations: 33.7 MB / 0.6041 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009822/0.5341, allocations: 3.593 MB / 0.6076 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.5378, allocations: 2.221 MB / 0.6098 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.5388, allocations: 445.3 kB / 0.6102 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.5389, allocations: 56.5 kB / 0.6103 GB, free: 228 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.681e-06/0.5389, allocations: 0 / 0.6103 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04411/0.583, allocations: 17.88 MB / 0.6277 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.5831, allocations: 77.34 kB / 0.6278 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/0.5877, allocations: 2.687 MB / 0.6304 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.588, allocations: 57.7 kB / 0.6305 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/0.5906, allocations: 2.909 MB / 0.6333 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/0.592, allocations: 0.9649 MB / 0.6343 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/0.5943, allocations: 1.076 MB / 0.6353 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5944, allocations: 301.1 kB / 0.6356 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/0.5984, allocations: 2.314 MB / 0.6378 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006609/0.605, allocations: 5.222 MB / 0.6429 GB, free: 13.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.6165, allocations: 8.269 MB / 0.651 GB, free: 3.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-05/0.6166, allocations: 28 kB / 0.6511 GB, free: 3.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01626/0.6328, allocations: 8.283 MB / 0.6591 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.6329, allocations: 48 kB / 0.6592 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.6331, allocations: 104 kB / 0.6593 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/0.636, allocations: 0.9377 MB / 0.6602 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004281/0.6403, allocations: 1.224 MB / 0.6614 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.6479, allocations: 4.975 MB / 0.6663 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.6521, allocations: 295.8 kB / 0.6665 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008292/0.653, allocations: 308 kB / 0.6668 GB, free: 3.219 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.004755/0.6577, allocations: 2.147 MB / 0.6689 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/0.6584, allocations: 270.2 kB / 0.6692 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.6688, allocations: 5.111 MB / 0.6742 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-05/0.6689, allocations: 51.89 kB / 0.6742 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.669, allocations: 8 kB / 0.6742 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/0.669, allocations: 15.95 kB / 0.6742 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/0.6914, allocations: 10.42 MB / 0.6844 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.6914, allocations: 8 kB / 0.6844 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.6933, allocations: 399.3 kB / 0.6848 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/0.6961, allocations: 0.7774 MB / 0.6856 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.6964, allocations: 55.98 kB / 0.6856 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/0.7029, allocations: 4.225 MB / 0.6897 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.7029, allocations: 11.94 kB / 0.6898 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.7163, allocations: 7.609 MB / 0.6972 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/0.717, allocations: 238.2 kB / 0.6974 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/0.7175, allocations: 55.92 kB / 0.6975 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.7191, allocations: 143.8 kB / 0.6976 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.7195, allocations: 164.8 kB / 0.6978 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/0.7197, allocations: 68 kB / 0.6978 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00307/0.7228, allocations: 1.518 MB / 0.6993 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7228, allocations: 0 / 0.6993 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004787/0.7275, allocations: 0.9609 MB / 0.7002 GB, free: 500 kB / 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.0005682/0.7281, allocations: 194.6 kB / 0.7004 GB, free: 296 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2505/0.9786, allocations: 5.427 MB / 0.7057 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.9786, allocations: 4.062 kB / 0.7057 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.9811, allocations: 1.998 MB / 0.7077 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.983, allocations: 302.5 kB / 0.708 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.9995, allocations: 10.35 MB / 0.7181 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.004, allocations: 2.833 MB / 0.7208 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004664/1.009, allocations: 1.96 MB / 0.7228 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/1.009, allocations: 206.8 kB / 0.723 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/1.009, allocations: 0 / 0.723 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.05105/1.06, allocations: 26.43 MB / 0.7488 GB, free: 153 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.827379671041854]