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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 113.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 75.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4156, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01607/0.4317, allocations: 13.51 MB / 0.5442 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.4434, allocations: 4.169 MB / 0.5483 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.4471, allocations: 67.78 kB / 0.5483 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.4514, allocations: 1.809 MB / 0.5501 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.4573, allocations: 1.813 MB / 0.5519 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4591, allocations: 0.5536 MB / 0.5524 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006488/0.4656, allocations: 3.899 MB / 0.5562 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004793/0.4704, allocations: 2.692 MB / 0.5588 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.4734, allocations: 1.359 MB / 0.5602 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/0.4771, allocations: 1.943 MB / 0.5621 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.4784, allocations: 292 kB / 0.5623 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.4815, allocations: 0.9946 MB / 0.5633 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002589/0.4841, allocations: 1.741 MB / 0.565 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003928/0.4881, allocations: 2.1 MB / 0.5671 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009611/0.4977, allocations: 6.914 MB / 0.5738 GB, free: 5.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4977, allocations: 0 / 0.5738 GB, free: 5.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4977, allocations: 0 / 0.5738 GB, free: 5.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002375/0.498, allocations: 0 / 0.5738 GB, free: 5.711 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.01143/0.5094, allocations: 4.641 MB / 0.5783 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5095, allocations: 8.031 kB / 0.5784 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.5204, allocations: 3.145 MB / 0.5814 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/0.5263, allocations: 2.132 MB / 0.5835 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.5266, allocations: 217.8 kB / 0.5837 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009661/0.5276, allocations: 295.7 kB / 0.584 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5457, allocations: 11.11 MB / 0.5949 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.5459, allocations: 27.77 kB / 0.5949 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/0.5463, allocations: 131.8 kB / 0.595 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004307/0.5506, allocations: 2.628 MB / 0.5976 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/0.5715, allocations: 10.37 MB / 0.6077 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05462/0.6262, allocations: 36.54 MB / 0.6434 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009955/0.6362, allocations: 4.579 MB / 0.6478 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/0.6396, allocations: 2.395 MB / 0.6502 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.6409, allocations: 1.327 MB / 0.6515 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6409, allocations: 56.44 kB / 0.6515 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.719e-06/0.641, allocations: 0 / 0.6515 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04072/0.6817, allocations: 17.66 MB / 0.6688 GB, free: 2.406 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.6818, allocations: 73.41 kB / 0.6689 GB, free: 2.324 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.6858, allocations: 2.739 MB / 0.6715 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.686, allocations: 57.7 kB / 0.6716 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.6881, allocations: 2.89 MB / 0.6744 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009623/0.689, allocations: 0.961 MB / 0.6753 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.6905, allocations: 1.08 MB / 0.6764 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6906, allocations: 301.1 kB / 0.6767 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/0.6939, allocations: 2.318 MB / 0.6789 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/0.6997, allocations: 5.222 MB / 0.684 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009778/0.7095, allocations: 8.269 MB / 0.6921 GB, free: 7.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.312e-05/0.7096, allocations: 28 kB / 0.6921 GB, free: 7.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01436/0.7239, allocations: 8.307 MB / 0.7003 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.7241, allocations: 50.5 kB / 0.7003 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/0.7242, allocations: 100 kB / 0.7004 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.727, allocations: 0.9466 MB / 0.7013 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.7311, allocations: 1.224 MB / 0.7025 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.7379, allocations: 5.145 MB / 0.7075 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/0.7418, allocations: 295.8 kB / 0.7078 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008962/0.7427, allocations: 312 kB / 0.7081 GB, free: 7.023 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.004579/0.7473, allocations: 2.154 MB / 0.7102 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007988/0.7481, allocations: 290 kB / 0.7105 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3847/1.133, allocations: 5.132 MB / 0.7155 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/1.133, allocations: 42.73 kB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.133, allocations: 2.531 kB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/1.133, allocations: 8.172 kB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.156, allocations: 11.86 MB / 0.7272 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.156, allocations: 7.938 kB / 0.7272 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.158, allocations: 397 kB / 0.7275 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.16, allocations: 0.7779 MB / 0.7283 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.16, allocations: 50.84 kB / 0.7284 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/1.165, allocations: 4.388 MB / 0.7326 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.166, allocations: 15.19 kB / 0.7327 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009302/1.175, allocations: 7.634 MB / 0.7401 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/1.176, allocations: 341.9 kB / 0.7404 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.176, allocations: 51.3 kB / 0.7405 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.177, allocations: 148.9 kB / 0.7406 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.178, allocations: 156.9 kB / 0.7408 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.178, allocations: 70.09 kB / 0.7408 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00224/1.18, allocations: 1.684 MB / 0.7425 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.18, allocations: 3.938 kB / 0.7425 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004378/1.184, allocations: 0.973 MB / 0.7434 GB, free: 150.2 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.0004555/1.185, allocations: 186.9 kB / 0.7436 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008259/1.193, allocations: 5.671 MB / 0.7492 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/1.193, allocations: 0 / 0.7492 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.197, allocations: 2.154 MB / 0.7513 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.2, allocations: 416.4 kB / 0.7517 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.222, allocations: 10.24 MB / 0.7617 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005095/1.228, allocations: 3.378 MB / 0.765 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003819/1.231, allocations: 1.982 MB / 0.7669 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009306/1.232, allocations: 207.4 kB / 0.7671 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/1.232, allocations: 0 / 0.7671 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06452/1.297, allocations: 31.47 MB / 0.7978 GB, free: 94.62 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches