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.001513/0.001513, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 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.2148/0.2148, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 80.11 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3464, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01584/0.3623, allocations: 13.51 MB / 0.5449 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.3722, allocations: 4.169 MB / 0.5489 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.3754, allocations: 72.34 kB / 0.549 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.3794, allocations: 1.81 MB / 0.5508 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.3847, allocations: 1.856 MB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.3863, allocations: 0.5498 MB / 0.5531 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006444/0.3928, allocations: 3.894 MB / 0.5569 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/0.3964, allocations: 2.693 MB / 0.5596 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.3988, allocations: 1.37 MB / 0.5609 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.4016, allocations: 1.943 MB / 0.5628 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008853/0.4025, allocations: 292 kB / 0.5631 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.4048, allocations: 0.9947 MB / 0.564 GB, free: 452 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.4065, allocations: 1.745 MB / 0.5657 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.4085, allocations: 2.096 MB / 0.5678 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007064/0.4156, allocations: 6.887 MB / 0.5745 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4156, allocations: 0 / 0.5745 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4156, allocations: 0 / 0.5745 GB, free: 5.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.4158, allocations: 0 / 0.5745 GB, free: 5.672 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.008399/0.4242, allocations: 4.52 MB / 0.5789 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4242, allocations: 8.031 kB / 0.5789 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4346, allocations: 3.114 MB / 0.582 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.4388, allocations: 2.124 MB / 0.5841 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.439, allocations: 225.7 kB / 0.5843 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005584/0.4396, allocations: 287.7 kB / 0.5845 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.4573, allocations: 11.11 MB / 0.5954 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4574, allocations: 27.72 kB / 0.5954 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/0.458, allocations: 135.8 kB / 0.5956 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.4624, allocations: 2.624 MB / 0.5981 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.4815, allocations: 10.37 MB / 0.6082 GB, free: 2.512 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05744/0.539, allocations: 36.47 MB / 0.6439 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/0.5485, allocations: 4.571 MB / 0.6483 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/0.552, allocations: 2.396 MB / 0.6507 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.5533, allocations: 1.311 MB / 0.6519 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.5534, allocations: 60.5 kB / 0.652 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.342e-06/0.5535, allocations: 0 / 0.652 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.0454/0.5989, allocations: 17.59 MB / 0.6692 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.599, allocations: 73.41 kB / 0.6692 GB, free: 2.582 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/0.6058, allocations: 2.73 MB / 0.6719 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005527/0.6064, allocations: 61.61 kB / 0.672 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/0.6092, allocations: 2.776 MB / 0.6747 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/0.6107, allocations: 0.9173 MB / 0.6756 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003025/0.6138, allocations: 1.068 MB / 0.6766 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6139, allocations: 309.1 kB / 0.6769 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/0.619, allocations: 2.314 MB / 0.6792 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/0.6263, allocations: 5.222 MB / 0.6843 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.6396, allocations: 8.276 MB / 0.6924 GB, free: 7.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.6398, allocations: 28 kB / 0.6924 GB, free: 7.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02142/0.6612, allocations: 8.293 MB / 0.7005 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.6614, allocations: 48 kB / 0.7005 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002302/0.6617, allocations: 100 kB / 0.7006 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.6648, allocations: 0.9469 MB / 0.7015 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004902/0.6697, allocations: 1.224 MB / 0.7027 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/0.6771, allocations: 5.145 MB / 0.7078 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.6814, allocations: 299.7 kB / 0.7081 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/0.6828, allocations: 304 kB / 0.7083 GB, free: 7.449 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.004525/0.6873, allocations: 2.154 MB / 0.7104 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009363/0.6883, allocations: 276.4 kB / 0.7107 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3073/0.9955, allocations: 5.119 MB / 0.7157 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.2e-05/0.9956, allocations: 11.72 kB / 0.7157 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.9956, allocations: 0 / 0.7157 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.9964, allocations: 311.4 kB / 0.716 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/0.997, allocations: 35.22 kB / 0.7161 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.9982, allocations: 142.6 kB / 0.7162 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.9986, allocations: 127.3 kB / 0.7163 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007801/1.006, allocations: 4.576 MB / 0.7208 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007574/1.014, allocations: 6.718 MB / 0.7273 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001814/1.016, allocations: 1.867 MB / 0.7292 GB, free: 158 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002055/1.018, allocations: 1.675 MB / 0.7308 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of Backend: time 7.62e-07/1.018, allocations: 0 / 0.7308 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006502/1.024, allocations: 4.199 MB / 0.7349 GB, free: 156 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01091/1.035, allocations: 8.957 MB / 0.7436 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.0582/1.094, allocations: 43.79 MB / 0.7864 GB, free: 107.6 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/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