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.001651/0.001651, allocations: 118.3 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002059/0.002059, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.116/2.116, allocations: 227.4 MB / 247.1 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3945/0.3945, allocations: 46.09 MB / 344.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 81.92 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 62.43 MB / 480.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2754/0.4077, allocations: 37.7 MB / 0.5057 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.4278, allocations: 8.066 MB / 0.5136 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009452/0.4373, allocations: 155.9 kB / 0.5137 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005147/0.4425, allocations: 1.732 MB / 0.5154 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.4489, allocations: 1.686 MB / 0.5171 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.4511, allocations: 0.5262 MB / 0.5176 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007473/0.4586, allocations: 3.9 MB / 0.5214 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0054/0.464, allocations: 2.808 MB / 0.5241 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.4674, allocations: 1.373 MB / 0.5255 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.4712, allocations: 2.129 MB / 0.5276 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.4727, allocations: 292.4 kB / 0.5278 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.4759, allocations: 1.007 MB / 0.5288 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003754/0.4797, allocations: 1.769 MB / 0.5305 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004937/0.4846, allocations: 2.114 MB / 0.5326 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009925/0.4946, allocations: 5.414 MB / 0.5379 GB, free: 15.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.4947, allocations: 2.906 kB / 0.5379 GB, free: 15.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4947, allocations: 0 / 0.5379 GB, free: 15.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003966/0.4951, allocations: 0 / 0.5379 GB, free: 15.55 MB / 398.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.01688/0.512, allocations: 4.523 MB / 0.5423 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/0.5121, allocations: 9.312 kB / 0.5423 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01982/0.5319, allocations: 3.121 MB / 0.5454 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007364/0.5393, allocations: 2.089 MB / 0.5474 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.5397, allocations: 216.4 kB / 0.5476 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.5419, allocations: 294.8 kB / 0.5479 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.5755, allocations: 11.11 MB / 0.5588 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.5758, allocations: 31.7 kB / 0.5588 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/0.5775, allocations: 132.2 kB / 0.5589 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008106/0.5856, allocations: 2.626 MB / 0.5615 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03523/0.6209, allocations: 10.37 MB / 0.5716 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08332/0.7043, allocations: 36.7 MB / 0.6074 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.7143, allocations: 4.57 MB / 0.6119 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/0.7181, allocations: 2.404 MB / 0.6143 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.7196, allocations: 1.312 MB / 0.6155 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.7197, allocations: 56.5 kB / 0.6156 GB, free: 1.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.562e-06/0.7197, allocations: 0 / 0.6156 GB, free: 1.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04747/0.7672, allocations: 17.58 MB / 0.6328 GB, free: 15.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.7673, allocations: 77.41 kB / 0.6328 GB, free: 15.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005696/0.773, allocations: 2.726 MB / 0.6355 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006251/0.7736, allocations: 61.7 kB / 0.6356 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002422/0.7761, allocations: 2.768 MB / 0.6383 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.7776, allocations: 0.9191 MB / 0.6392 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003068/0.7807, allocations: 1.068 MB / 0.6402 GB, free: 7.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.7808, allocations: 305.1 kB / 0.6405 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/0.7848, allocations: 2.322 MB / 0.6428 GB, free: 5.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/0.7917, allocations: 5.218 MB / 0.6478 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/0.8037, allocations: 8.28 MB / 0.6559 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/0.8039, allocations: 28 kB / 0.656 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02607/0.8299, allocations: 8.292 MB / 0.6641 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.8305, allocations: 54.33 kB / 0.6641 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005086/0.831, allocations: 104 kB / 0.6642 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007561/0.8386, allocations: 0.9374 MB / 0.6651 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/0.8521, allocations: 1.224 MB / 0.6663 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/0.8752, allocations: 5.139 MB / 0.6713 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/0.8858, allocations: 307.7 kB / 0.6716 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002877/0.8888, allocations: 308 kB / 0.6719 GB, free: 4.285 MB / 0.5137 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.01003/0.8989, allocations: 2.149 MB / 0.674 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.9004, allocations: 276.4 kB / 0.6743 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/0.9175, allocations: 5.129 MB / 0.6793 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000172/0.9177, allocations: 44 kB / 0.6793 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-05/0.9178, allocations: 0 / 0.6793 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.058e-05/0.9179, allocations: 11.95 kB / 0.6794 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05801/0.9759, allocations: 11.9 MB / 0.691 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-05/0.976, allocations: 11.98 kB / 0.691 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/0.9802, allocations: 399.3 kB / 0.6914 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009793/0.9901, allocations: 0.7772 MB / 0.6921 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007571/0.9909, allocations: 58.56 kB / 0.6922 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/1.011, allocations: 4.389 MB / 0.6965 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/1.011, allocations: 15.94 kB / 0.6965 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02896/1.04, allocations: 7.631 MB / 0.7039 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.041, allocations: 329.4 kB / 0.7042 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/1.043, allocations: 47.98 kB / 0.7043 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.046, allocations: 150.9 kB / 0.7044 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009864/1.047, allocations: 152.9 kB / 0.7046 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006188/1.048, allocations: 75.98 kB / 0.7046 GB, free: 2.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00586/1.054, allocations: 1.685 MB / 0.7063 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.323e-06/1.054, allocations: 0 / 0.7063 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.4697/1.524, allocations: 0.9596 MB / 0.7072 GB, free: 192.9 MB / 0.545 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.001263/1.525, allocations: 186.5 kB / 0.7074 GB, free: 192.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03848/1.564, allocations: 9.104 MB / 0.7163 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.564, allocations: 1.125 kB / 0.7163 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006559/1.57, allocations: 2.157 MB / 0.7184 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/1.575, allocations: 409.7 kB / 0.7188 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05255/1.627, allocations: 12.88 MB / 0.7314 GB, free: 184.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/1.641, allocations: 3.378 MB / 0.7347 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006269/1.648, allocations: 258.8 kB / 0.7349 GB, free: 182.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.734e-06/1.648, allocations: 0 / 0.7349 GB, free: 182.9 MB / 0.545 GB Notification: Performance of Templates: time 0.187/1.835, allocations: 75.19 MB / 0.8083 GB, free: 116.7 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches