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.0009764/0.0009765, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.00121/0.00121, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.373/1.373, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03842/0.1702, allocations: 36.84 MB / 0.4972 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02597/0.1962, allocations: 8.184 MB / 0.5052 GB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/0.2088, allocations: 155.6 kB / 0.5053 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3392/0.5481, allocations: 466.8 kB / 0.5057 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.5554, allocations: 1.729 MB / 0.5074 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.5572, allocations: 0.5086 MB / 0.5079 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.5674, allocations: 5.414 MB / 0.5132 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007381/0.5749, allocations: 3.391 MB / 0.5165 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.5786, allocations: 1.065 MB / 0.5176 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.5835, allocations: 1.874 MB / 0.5194 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.5848, allocations: 148.4 kB / 0.5195 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.588, allocations: 0.9351 MB / 0.5205 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.5904, allocations: 1.634 MB / 0.5221 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.5936, allocations: 1.967 MB / 0.524 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009319/0.6029, allocations: 6.429 MB / 0.5302 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6029, allocations: 0 / 0.5302 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6029, allocations: 4 kB / 0.5303 GB, free: 4.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002848/0.6032, allocations: 0 / 0.5303 GB, free: 4.824 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.01212/0.6154, allocations: 3.721 MB / 0.5339 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.6154, allocations: 10.34 kB / 0.5339 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.6272, allocations: 3.199 MB / 0.537 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/0.6338, allocations: 2.139 MB / 0.5391 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.6342, allocations: 220.2 kB / 0.5393 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.6359, allocations: 281 kB / 0.5396 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/0.6588, allocations: 11.13 MB / 0.5505 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.659, allocations: 27.53 kB / 0.5505 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/0.6605, allocations: 134.7 kB / 0.5506 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005286/0.6658, allocations: 2.623 MB / 0.5532 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/0.6913, allocations: 10.39 MB / 0.5633 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.7623, allocations: 36.7 MB / 0.5992 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.7725, allocations: 4.572 MB / 0.6036 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004241/0.7768, allocations: 2.4 MB / 0.606 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.7783, allocations: 1.316 MB / 0.6073 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.7784, allocations: 52.56 kB / 0.6073 GB, free: 10.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 7.725e-06/0.7784, allocations: 2.625 kB / 0.6073 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04801/0.8265, allocations: 17.57 MB / 0.6245 GB, free: 8.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/0.8266, allocations: 77.34 kB / 0.6245 GB, free: 8.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/0.8329, allocations: 2.735 MB / 0.6272 GB, free: 5.859 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005558/0.8335, allocations: 57.7 kB / 0.6273 GB, free: 5.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.8363, allocations: 2.78 MB / 0.63 GB, free: 3.012 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.8377, allocations: 0.9211 MB / 0.6309 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.8389, allocations: 482.1 kB / 0.6313 GB, free: 1.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.839, allocations: 301.1 kB / 0.6316 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/0.8433, allocations: 2.316 MB / 0.6339 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006598/0.8499, allocations: 5.224 MB / 0.639 GB, free: 8.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.8618, allocations: 8.272 MB / 0.6471 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001666/0.862, allocations: 28 kB / 0.6471 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01954/0.8816, allocations: 8.295 MB / 0.6552 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.8818, allocations: 49 kB / 0.6552 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/0.882, allocations: 104 kB / 0.6553 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/0.8849, allocations: 0.9372 MB / 0.6563 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/0.8894, allocations: 1.224 MB / 0.6575 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00701/0.8965, allocations: 4.782 MB / 0.6621 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/0.9013, allocations: 295.8 kB / 0.6624 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/0.9027, allocations: 315.2 kB / 0.6627 GB, free: 14.98 MB / 0.5138 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.006618/0.9093, allocations: 2.15 MB / 0.6648 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/0.9102, allocations: 284.3 kB / 0.6651 GB, free: 12.54 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.9207, allocations: 5.128 MB / 0.6701 GB, free: 7.383 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-05/0.9208, allocations: 44 kB / 0.6701 GB, free: 7.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.9209, allocations: 11.98 kB / 0.6701 GB, free: 7.328 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.9209, allocations: 7.969 kB / 0.6701 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/0.9461, allocations: 11.9 MB / 0.6818 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/0.9462, allocations: 8 kB / 0.6818 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.9481, allocations: 399.3 kB / 0.6822 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.9507, allocations: 0.7733 MB / 0.6829 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/0.9511, allocations: 47.98 kB / 0.683 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.9566, allocations: 4.093 MB / 0.687 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.9567, allocations: 19.88 kB / 0.687 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.9686, allocations: 7.624 MB / 0.6944 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009/0.9695, allocations: 337.5 kB / 0.6947 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007406/0.9702, allocations: 44 kB / 0.6948 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.972, allocations: 146.2 kB / 0.6949 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004447/0.9724, allocations: 160.8 kB / 0.6951 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.9726, allocations: 68 kB / 0.6951 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003467/0.9761, allocations: 1.697 MB / 0.6968 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9761, allocations: 4 kB / 0.6968 GB, free: 11.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005401/0.9815, allocations: 0.9789 MB / 0.6978 GB, free: 10.58 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.0006592/0.9822, allocations: 190.4 kB / 0.6979 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009485/0.9917, allocations: 5.634 MB / 0.7034 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.9917, allocations: 4.125 kB / 0.7034 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.9951, allocations: 2.156 MB / 0.7055 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/1.002, allocations: 374.9 kB / 0.7059 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3193/1.321, allocations: 12.51 MB / 0.7181 GB, free: 160.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005037/1.326, allocations: 3.376 MB / 0.7214 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005688/1.332, allocations: 1.98 MB / 0.7233 GB, free: 159.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/1.333, allocations: 218.8 kB / 0.7236 GB, free: 159.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/1.333, allocations: 0 / 0.7236 GB, free: 159.6 MB / 0.545 GB Notification: Performance of Templates: time 0.0635/1.396, allocations: 32.07 MB / 0.7549 GB, free: 143.3 MB / 0.545 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/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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches