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.001188/0.001188, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.00139/0.00139, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2049/0.2049, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4261, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01589/0.442, allocations: 13.6 MB / 0.5322 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.454, allocations: 4.172 MB / 0.5363 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.458, allocations: 68.91 kB / 0.5363 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.4624, allocations: 1.837 MB / 0.5381 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.4681, allocations: 1.887 MB / 0.54 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4698, allocations: 0.551 MB / 0.5405 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.4766, allocations: 3.874 MB / 0.5443 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003767/0.4804, allocations: 2.326 MB / 0.5466 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.4835, allocations: 1.382 MB / 0.5479 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.4869, allocations: 1.951 MB / 0.5498 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008814/0.4878, allocations: 296 kB / 0.5501 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.4904, allocations: 1.006 MB / 0.5511 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.4924, allocations: 1.799 MB / 0.5528 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.4952, allocations: 2.12 MB / 0.5549 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.5058, allocations: 6.986 MB / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.5058, allocations: 0 / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5058, allocations: 0 / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.506, allocations: 0 / 0.5617 GB, free: 12 kB / 414.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.01236/0.5184, allocations: 4.676 MB / 0.5663 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5184, allocations: 12.03 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.5301, allocations: 3.133 MB / 0.5694 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/0.5363, allocations: 2.167 MB / 0.5715 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.5365, allocations: 217.8 kB / 0.5717 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/0.5374, allocations: 287.8 kB / 0.572 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.5588, allocations: 11.12 MB / 0.5828 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.5589, allocations: 23.81 kB / 0.5829 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005362/0.5594, allocations: 131.8 kB / 0.583 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004634/0.5641, allocations: 2.616 MB / 0.5855 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.5871, allocations: 10.38 MB / 0.5957 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06224/0.6494, allocations: 36.54 MB / 0.6314 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.6592, allocations: 4.391 MB / 0.6356 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/0.663, allocations: 2.213 MB / 0.6378 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.6648, allocations: 1.319 MB / 0.6391 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.6649, allocations: 64.44 kB / 0.6392 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.452e-06/0.6649, allocations: 0 / 0.6392 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04734/0.7123, allocations: 17.66 MB / 0.6564 GB, free: 13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.7123, allocations: 73.41 kB / 0.6565 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/0.718, allocations: 2.739 MB / 0.6591 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.7186, allocations: 61.7 kB / 0.6592 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/0.7212, allocations: 2.89 MB / 0.662 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.7227, allocations: 0.961 MB / 0.663 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/0.7247, allocations: 1.08 MB / 0.664 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7248, allocations: 301.1 kB / 0.6643 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.7283, allocations: 2.318 MB / 0.6666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/0.7338, allocations: 5.214 MB / 0.6717 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009748/0.7436, allocations: 8.273 MB / 0.6797 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.769e-05/0.7437, allocations: 31.98 kB / 0.6798 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0152/0.7589, allocations: 8.302 MB / 0.6879 GB, free: 9.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.7589, allocations: 48 kB / 0.6879 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.7591, allocations: 104 kB / 0.688 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.7619, allocations: 0.9418 MB / 0.6889 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/0.7663, allocations: 1.22 MB / 0.6901 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007787/0.7741, allocations: 5.151 MB / 0.6952 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.7786, allocations: 295.8 kB / 0.6954 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/0.78, allocations: 304 kB / 0.6957 GB, free: 1.641 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.006171/0.7862, allocations: 2.154 MB / 0.6978 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/0.7874, allocations: 290 kB / 0.6981 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.7975, allocations: 5.117 MB / 0.7031 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.7976, allocations: 51.97 kB / 0.7032 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.7976, allocations: 8 kB / 0.7032 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/0.7976, allocations: 7.969 kB / 0.7032 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/0.8222, allocations: 11.86 MB / 0.7148 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.8222, allocations: 12 kB / 0.7148 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.8242, allocations: 403.3 kB / 0.7152 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/0.8268, allocations: 0.7738 MB / 0.7159 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/0.8272, allocations: 52 kB / 0.716 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.8331, allocations: 4.39 MB / 0.7203 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.8332, allocations: 20 kB / 0.7203 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.8465, allocations: 7.628 MB / 0.7277 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3638/1.21, allocations: 340.9 kB / 0.728 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.211, allocations: 46.19 kB / 0.7281 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.213, allocations: 146.3 kB / 0.7282 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/1.214, allocations: 157.5 kB / 0.7284 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.214, allocations: 71.59 kB / 0.7284 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003207/1.217, allocations: 1.687 MB / 0.7301 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.217, allocations: 0 / 0.7301 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005463/1.223, allocations: 0.9871 MB / 0.7311 GB, free: 182.2 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.0006597/1.223, allocations: 195.6 kB / 0.7312 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009932/1.233, allocations: 5.437 MB / 0.7366 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.096e-05/1.233, allocations: 0 / 0.7366 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.237, allocations: 1.998 MB / 0.7385 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.002814/1.24, allocations: 394.4 kB / 0.7389 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.257, allocations: 10.25 MB / 0.7489 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/1.26, allocations: 3.376 MB / 0.7522 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00378/1.264, allocations: 1.982 MB / 0.7541 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/1.265, allocations: 216.3 kB / 0.7543 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.265, allocations: 0 / 0.7543 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.05315/1.318, allocations: 31.89 MB / 0.7855 GB, free: 145.4 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/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