Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.27 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1007, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01348/0.1142, allocations: 13.55 MB / 483.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00838/0.1226, allocations: 4.17 MB / 487.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.1247, allocations: 67.88 kB / 487.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.1281, allocations: 1.814 MB / 489.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.1323, allocations: 1.848 MB / 491.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1337, allocations: 0.542 MB / 491.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004569/0.1383, allocations: 3.87 MB / 495.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.1414, allocations: 2.705 MB / 498.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.1433, allocations: 1.366 MB / 499.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.146, allocations: 1.955 MB / 0.49 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.1467, allocations: 292 kB / 0.4903 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.1486, allocations: 1.01 MB / 0.4913 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.1503, allocations: 1.773 MB / 0.493 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.1525, allocations: 2.116 MB / 0.4951 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.1592, allocations: 6.651 MB / 0.5016 GB, free: 2.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1592, allocations: 4 kB / 0.5016 GB, free: 2.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1592, allocations: 0 / 0.5016 GB, free: 2.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.1594, allocations: 0 / 0.5016 GB, free: 2.441 MB / 382.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.1834/0.3428, allocations: 4.55 MB / 0.5061 GB, free: 46.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3428, allocations: 11.5 kB / 0.5061 GB, free: 46.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.3545, allocations: 3.111 MB / 0.5091 GB, free: 46.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.3593, allocations: 2.126 MB / 0.5112 GB, free: 45.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.3595, allocations: 223 kB / 0.5114 GB, free: 45.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009147/0.3605, allocations: 288.7 kB / 0.5117 GB, free: 44.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.3786, allocations: 11.11 MB / 0.5225 GB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.91e-05/0.3787, allocations: 23.66 kB / 0.5225 GB, free: 39.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003886/0.3791, allocations: 139.2 kB / 0.5227 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/0.3828, allocations: 2.621 MB / 0.5252 GB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.3987, allocations: 10.38 MB / 0.5354 GB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04432/0.443, allocations: 36.69 MB / 0.5712 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009066/0.4521, allocations: 4.576 MB / 0.5757 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003308/0.4555, allocations: 2.4 MB / 0.578 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.4567, allocations: 1.319 MB / 0.5793 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4568, allocations: 52.56 kB / 0.5793 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 4.178e-06/0.4568, allocations: 0 / 0.5793 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.04247/0.4993, allocations: 17.59 MB / 0.5965 GB, free: 11.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4994, allocations: 75.47 kB / 0.5966 GB, free: 10.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/0.5038, allocations: 2.739 MB / 0.5993 GB, free: 8.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003398/0.5042, allocations: 61.69 kB / 0.5993 GB, free: 8.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.5061, allocations: 2.776 MB / 0.602 GB, free: 5.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.5072, allocations: 0.9173 MB / 0.6029 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/0.5092, allocations: 1.068 MB / 0.604 GB, free: 3.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.5093, allocations: 301.1 kB / 0.6043 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.5128, allocations: 2.318 MB / 0.6065 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/0.5183, allocations: 5.214 MB / 0.6116 GB, free: 10.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5284, allocations: 8.273 MB / 0.6197 GB, free: 408 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.441e-05/0.5286, allocations: 28 kB / 0.6197 GB, free: 380 kB / 446.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01615/0.5447, allocations: 8.293 MB / 0.6278 GB, free: 8.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.5449, allocations: 52.95 kB / 0.6279 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/0.5451, allocations: 103.9 kB / 0.628 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.5478, allocations: 0.9475 MB / 0.6289 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/0.552, allocations: 1.224 MB / 0.6301 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/0.5592, allocations: 5.138 MB / 0.6351 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.563, allocations: 295.8 kB / 0.6354 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009766/0.564, allocations: 308 kB / 0.6357 GB, free: 15.87 MB / 478.1 MB 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.004473/0.5685, allocations: 2.154 MB / 0.6378 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/0.5693, allocations: 272.4 kB / 0.638 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/0.5791, allocations: 5.133 MB / 0.6431 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.178e-05/0.5792, allocations: 50.05 kB / 0.6431 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.5792, allocations: 7.828 kB / 0.6431 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/0.5793, allocations: 11.95 kB / 0.6431 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/0.6032, allocations: 11.9 MB / 0.6547 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.6033, allocations: 8 kB / 0.6548 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.6052, allocations: 395.4 kB / 0.6551 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/0.6077, allocations: 0.7856 MB / 0.6559 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/0.608, allocations: 47.98 kB / 0.6559 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.6139, allocations: 4.39 MB / 0.6602 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/0.6139, allocations: 12.05 kB / 0.6602 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.6264, allocations: 7.621 MB / 0.6677 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008575/0.6273, allocations: 329.5 kB / 0.668 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009982/0.6283, allocations: 55.91 kB / 0.6681 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.6303, allocations: 147.8 kB / 0.6682 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/0.6309, allocations: 152.8 kB / 0.6683 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/0.6312, allocations: 75.98 kB / 0.6684 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003193/0.6344, allocations: 1.689 MB / 0.6701 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6344, allocations: 0 / 0.6701 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004697/0.6391, allocations: 0.9869 MB / 0.671 GB, free: 11.11 MB / 0.4981 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.0006297/0.6397, allocations: 185.4 kB / 0.6712 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01485/0.6546, allocations: 9.114 MB / 0.6801 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.6547, allocations: 0 / 0.6801 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.658, allocations: 2.156 MB / 0.6822 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.661, allocations: 400.8 kB / 0.6826 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/0.6824, allocations: 10.68 MB / 0.693 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/0.6863, allocations: 3.382 MB / 0.6963 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.6875, allocations: 255.4 kB / 0.6966 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.6876, allocations: 0 / 0.6966 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of Templates: time 0.3135/1.001, allocations: 75.37 MB / 0.7702 GB, free: 116.6 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches