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.001264/0.001263, allocations: 109.4 kB / 18.45 MB, free: 4.609 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.001446/0.001446, allocations: 190.2 kB / 19.38 MB, free: 3.684 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.297/1.297, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1962/0.1962, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3476, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0133/0.361, allocations: 13.57 MB / 0.5328 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008953/0.37, allocations: 4.16 MB / 0.5369 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.3724, allocations: 67.41 kB / 0.5369 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.3761, allocations: 1.82 MB / 0.5387 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.381, allocations: 1.83 MB / 0.5405 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3826, allocations: 0.5538 MB / 0.541 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005788/0.3884, allocations: 3.881 MB / 0.5448 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/0.3921, allocations: 2.702 MB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3948, allocations: 1.382 MB / 0.5488 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.3979, allocations: 1.958 MB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.3986, allocations: 288 kB / 0.551 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.4007, allocations: 1.002 MB / 0.552 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.4027, allocations: 1.765 MB / 0.5537 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.4053, allocations: 2.12 MB / 0.5558 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007597/0.4129, allocations: 6.946 MB / 0.5626 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4129, allocations: 0 / 0.5626 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4129, allocations: 0 / 0.5626 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.4131, allocations: 0 / 0.5626 GB, free: 15.91 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.008496/0.4216, allocations: 4.563 MB / 0.567 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4217, allocations: 8.031 kB / 0.567 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4321, allocations: 3.111 MB / 0.5701 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.4363, allocations: 2.151 MB / 0.5722 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.4365, allocations: 221.7 kB / 0.5724 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007841/0.4372, allocations: 283.8 kB / 0.5726 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.4545, allocations: 11.11 MB / 0.5835 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.4547, allocations: 27.8 kB / 0.5835 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008846/0.4556, allocations: 131.8 kB / 0.5837 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004386/0.46, allocations: 2.624 MB / 0.5862 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.4789, allocations: 10.38 MB / 0.5964 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05424/0.5331, allocations: 36.47 MB / 0.632 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/0.5423, allocations: 4.565 MB / 0.6364 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.5457, allocations: 2.408 MB / 0.6388 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.547, allocations: 1.315 MB / 0.6401 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.5471, allocations: 56.5 kB / 0.6401 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.932e-06/0.5471, allocations: 0 / 0.6401 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04176/0.5889, allocations: 17.58 MB / 0.6573 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.589, allocations: 77.34 kB / 0.6574 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004165/0.5932, allocations: 2.739 MB / 0.66 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/0.5936, allocations: 57.7 kB / 0.6601 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.5954, allocations: 2.779 MB / 0.6628 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.5965, allocations: 0.9173 MB / 0.6637 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/0.5984, allocations: 1.068 MB / 0.6647 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.5986, allocations: 305.1 kB / 0.665 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/0.6019, allocations: 2.314 MB / 0.6673 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/0.6072, allocations: 5.226 MB / 0.6724 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00944/0.6167, allocations: 8.265 MB / 0.6805 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.697e-05/0.6168, allocations: 32 kB / 0.6805 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01416/0.631, allocations: 8.297 MB / 0.6886 GB, free: 9.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.6311, allocations: 48.19 kB / 0.6886 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/0.6313, allocations: 104 kB / 0.6887 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.6339, allocations: 0.945 MB / 0.6897 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.638, allocations: 1.217 MB / 0.6909 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.6446, allocations: 5.142 MB / 0.6959 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/0.6481, allocations: 299.8 kB / 0.6962 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008508/0.6489, allocations: 308 kB / 0.6965 GB, free: 1.625 MB / 0.545 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.003875/0.6528, allocations: 2.147 MB / 0.6986 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/0.6534, allocations: 276.4 kB / 0.6988 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008899/0.6623, allocations: 5.133 MB / 0.7038 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.401e-05/0.6624, allocations: 47.98 kB / 0.7039 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.6625, allocations: 0 / 0.7039 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.6625, allocations: 11.97 kB / 0.7039 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/0.683, allocations: 11.88 MB / 0.7155 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/0.6831, allocations: 8 kB / 0.7155 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.6848, allocations: 403.5 kB / 0.7159 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.6872, allocations: 0.7769 MB / 0.7166 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.6875, allocations: 48 kB / 0.7167 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.693, allocations: 4.386 MB / 0.721 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.693, allocations: 23.86 kB / 0.721 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.7043, allocations: 7.618 MB / 0.7284 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2326/0.9369, allocations: 324.3 kB / 0.7287 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009181/0.9379, allocations: 48.14 kB / 0.7288 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.9394, allocations: 144.9 kB / 0.7289 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/0.9398, allocations: 156.5 kB / 0.7291 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.94, allocations: 78.2 kB / 0.7291 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002717/0.9427, allocations: 1.69 MB / 0.7308 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9427, allocations: 0 / 0.7308 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003867/0.9466, allocations: 0.9809 MB / 0.7318 GB, free: 182.4 MB / 0.5762 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.0004515/0.9471, allocations: 193.3 kB / 0.7319 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008211/0.9553, allocations: 5.677 MB / 0.7375 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.9553, allocations: 1.312 kB / 0.7375 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.9581, allocations: 2.154 MB / 0.7396 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.9603, allocations: 396.1 kB / 0.74 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.9747, allocations: 10.57 MB / 0.7503 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/0.9775, allocations: 3.376 MB / 0.7536 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009812/0.9785, allocations: 264.3 kB / 0.7538 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.884e-06/0.9785, allocations: 4 kB / 0.7538 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06886/1.047, allocations: 75.93 MB / 0.828 GB, free: 102.8 MB / 0.5762 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