Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001344, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2283/0.2283, allocations: 46.13 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 83.86 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4105, allocations: 62.45 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01664/0.4272, allocations: 13.5 MB / 0.5443 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.4386, allocations: 4.174 MB / 0.5484 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.4422, allocations: 67 kB / 0.5484 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.4472, allocations: 1.81 MB / 0.5502 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.4536, allocations: 1.813 MB / 0.552 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.4552, allocations: 0.5497 MB / 0.5525 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006026/0.4613, allocations: 3.894 MB / 0.5563 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/0.4652, allocations: 2.7 MB / 0.5589 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.4678, allocations: 1.355 MB / 0.5603 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.4709, allocations: 1.947 MB / 0.5622 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007546/0.4717, allocations: 292 kB / 0.5624 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.4742, allocations: 0.9946 MB / 0.5634 GB, free: 480 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.4769, allocations: 1.745 MB / 0.5651 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002713/0.4796, allocations: 2.092 MB / 0.5672 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.4902, allocations: 6.918 MB / 0.5739 GB, free: 5.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4903, allocations: 0 / 0.5739 GB, free: 5.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4903, allocations: 0 / 0.5739 GB, free: 5.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.4905, allocations: 0 / 0.5739 GB, free: 5.668 MB / 430.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.01102/0.5015, allocations: 4.645 MB / 0.5784 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5016, allocations: 8.031 kB / 0.5785 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.5129, allocations: 3.141 MB / 0.5815 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.5187, allocations: 2.132 MB / 0.5836 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.5189, allocations: 225.7 kB / 0.5838 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008251/0.5198, allocations: 287.7 kB / 0.5841 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.541, allocations: 11.11 MB / 0.5949 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.5412, allocations: 27.77 kB / 0.595 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004959/0.5417, allocations: 135.8 kB / 0.5951 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004803/0.5465, allocations: 2.62 MB / 0.5977 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.5696, allocations: 10.38 MB / 0.6078 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06145/0.6311, allocations: 36.54 MB / 0.6435 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009613/0.6407, allocations: 4.575 MB / 0.6479 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/0.6444, allocations: 2.396 MB / 0.6503 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.6458, allocations: 1.323 MB / 0.6516 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.6459, allocations: 56.44 kB / 0.6516 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.628e-06/0.6459, allocations: 0 / 0.6516 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04284/0.6887, allocations: 17.66 MB / 0.6689 GB, free: 2.359 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.6888, allocations: 73.41 kB / 0.6689 GB, free: 2.277 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004415/0.6933, allocations: 2.739 MB / 0.6716 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000482/0.6938, allocations: 61.7 kB / 0.6717 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/0.6962, allocations: 2.894 MB / 0.6745 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.6975, allocations: 0.9571 MB / 0.6754 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/0.6992, allocations: 1.08 MB / 0.6765 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6993, allocations: 301.1 kB / 0.6768 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/0.7029, allocations: 2.314 MB / 0.679 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00615/0.7091, allocations: 5.226 MB / 0.6841 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.7203, allocations: 8.269 MB / 0.6922 GB, free: 7.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.701e-05/0.7204, allocations: 28 kB / 0.6922 GB, free: 7.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01692/0.7373, allocations: 8.315 MB / 0.7004 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.7375, allocations: 50.81 kB / 0.7004 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/0.7376, allocations: 100.1 kB / 0.7005 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.7404, allocations: 0.9411 MB / 0.7014 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/0.7447, allocations: 1.22 MB / 0.7026 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.7522, allocations: 5.145 MB / 0.7076 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/0.7558, allocations: 299.7 kB / 0.7079 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/0.7564, allocations: 308.1 kB / 0.7082 GB, free: 6.984 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.003844/0.7603, allocations: 2.154 MB / 0.7103 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/0.761, allocations: 290 kB / 0.7106 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3291/1.09, allocations: 5.129 MB / 0.7156 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.09, allocations: 43.31 kB / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.09, allocations: 2.906 kB / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/1.09, allocations: 10.59 kB / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.111, allocations: 11.86 MB / 0.7273 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.111, allocations: 7.906 kB / 0.7273 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.112, allocations: 395.9 kB / 0.7276 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/1.114, allocations: 0.7801 MB / 0.7284 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/1.115, allocations: 52.42 kB / 0.7284 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/1.119, allocations: 4.389 MB / 0.7327 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.119, allocations: 15.28 kB / 0.7327 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/1.128, allocations: 7.641 MB / 0.7402 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.129, allocations: 340.5 kB / 0.7405 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/1.129, allocations: 48 kB / 0.7406 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.13, allocations: 151.3 kB / 0.7407 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/1.131, allocations: 148.4 kB / 0.7409 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.131, allocations: 78.48 kB / 0.7409 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002125/1.133, allocations: 1.684 MB / 0.7426 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.133, allocations: 3.938 kB / 0.7426 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003942/1.137, allocations: 0.9659 MB / 0.7435 GB, free: 150.1 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.000436/1.137, allocations: 191.4 kB / 0.7437 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006651/1.144, allocations: 5.678 MB / 0.7493 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.144, allocations: 0 / 0.7493 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.146, allocations: 2.149 MB / 0.7514 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.148, allocations: 414.9 kB / 0.7518 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.161, allocations: 10.24 MB / 0.7617 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/1.164, allocations: 3.371 MB / 0.765 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0033/1.167, allocations: 1.986 MB / 0.767 GB, free: 126 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/1.168, allocations: 211.4 kB / 0.7672 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.693e-06/1.168, allocations: 0 / 0.7672 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05074/1.218, allocations: 31.46 MB / 0.7979 GB, free: 94.52 MB / 0.5606 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches