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.001159/0.001159, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001196/0.001196, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.328/1.328, allocations: 222.9 MB / 243 MB, free: 15.14 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.2168/0.2168, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 60.34 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01589/0.1408, allocations: 13.54 MB / 484.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1512, allocations: 4.17 MB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.1541, allocations: 67.88 kB / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004053/0.1582, allocations: 1.822 MB / 490.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.1636, allocations: 1.841 MB / 492.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1653, allocations: 0.5536 MB / 492.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006141/0.1714, allocations: 3.876 MB / 496.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.1759, allocations: 2.693 MB / 499.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.1787, allocations: 1.37 MB / 0.4889 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.1821, allocations: 1.958 MB / 0.4908 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.1832, allocations: 292 kB / 0.4911 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.186, allocations: 1.006 MB / 0.4921 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002268/0.1882, allocations: 1.776 MB / 0.4938 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00389/0.1921, allocations: 2.116 MB / 0.4959 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009492/0.2017, allocations: 6.94 MB / 0.5026 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.2017, allocations: 0 / 0.5026 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2017, allocations: 0 / 0.5026 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003338/0.2021, allocations: 4 kB / 0.5027 GB, free: 1.41 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.2272/0.4293, allocations: 4.549 MB / 0.5071 GB, free: 46.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4294, allocations: 9.656 kB / 0.5071 GB, free: 46.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.4415, allocations: 3.111 MB / 0.5101 GB, free: 46.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006301/0.4478, allocations: 2.151 MB / 0.5122 GB, free: 45.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.4481, allocations: 217 kB / 0.5124 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.4492, allocations: 291.7 kB / 0.5127 GB, free: 45.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.4662, allocations: 11.11 MB / 0.5236 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.4663, allocations: 24.12 kB / 0.5236 GB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007913/0.4671, allocations: 138 kB / 0.5237 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/0.4705, allocations: 2.63 MB / 0.5263 GB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.4874, allocations: 10.38 MB / 0.5364 GB, free: 26.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04809/0.5355, allocations: 36.47 MB / 0.572 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00918/0.5447, allocations: 4.576 MB / 0.5765 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.548, allocations: 2.404 MB / 0.5789 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.5494, allocations: 1.319 MB / 0.5801 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.5494, allocations: 52.56 kB / 0.5802 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.841e-06/0.5495, allocations: 3.938 kB / 0.5802 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.04118/0.5907, allocations: 17.58 MB / 0.5974 GB, free: 10.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5907, allocations: 75.47 kB / 0.5974 GB, free: 10.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.5951, allocations: 2.742 MB / 0.6001 GB, free: 8.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.5954, allocations: 57.7 kB / 0.6002 GB, free: 8.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/0.5976, allocations: 2.772 MB / 0.6029 GB, free: 5.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.5988, allocations: 0.9173 MB / 0.6038 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/0.6006, allocations: 1.068 MB / 0.6048 GB, free: 3.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6007, allocations: 301.1 kB / 0.6051 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.6042, allocations: 2.318 MB / 0.6074 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/0.6098, allocations: 5.222 MB / 0.6125 GB, free: 9.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.6199, allocations: 8.269 MB / 0.6205 GB, free: 240 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.6201, allocations: 28 kB / 0.6206 GB, free: 212 kB / 446.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0172/0.6373, allocations: 8.297 MB / 0.6287 GB, free: 7.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.6374, allocations: 48.97 kB / 0.6287 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/0.6376, allocations: 107.9 kB / 0.6288 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.6406, allocations: 0.9418 MB / 0.6297 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/0.6454, allocations: 1.22 MB / 0.6309 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007945/0.6534, allocations: 5.14 MB / 0.636 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/0.6574, allocations: 295.8 kB / 0.6362 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.6584, allocations: 312 kB / 0.6365 GB, free: 15.71 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.004493/0.6629, allocations: 2.15 MB / 0.6386 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008401/0.6638, allocations: 276.4 kB / 0.6389 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.6742, allocations: 5.133 MB / 0.6439 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.316e-05/0.6743, allocations: 46.05 kB / 0.644 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.6743, allocations: 7.828 kB / 0.644 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.6743, allocations: 11.95 kB / 0.644 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/0.7, allocations: 11.87 MB / 0.6556 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.7001, allocations: 12.97 kB / 0.6556 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.7018, allocations: 399.3 kB / 0.656 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/0.7042, allocations: 0.7731 MB / 0.6567 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.7045, allocations: 51.89 kB / 0.6568 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/0.7102, allocations: 4.38 MB / 0.661 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.7102, allocations: 12.05 kB / 0.6611 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.722, allocations: 7.618 MB / 0.6685 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008884/0.7229, allocations: 329.5 kB / 0.6688 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006764/0.7236, allocations: 55.91 kB / 0.6689 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.7252, allocations: 147.8 kB / 0.669 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.7256, allocations: 152.8 kB / 0.6691 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/0.7259, allocations: 75.98 kB / 0.6692 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00322/0.7291, allocations: 1.693 MB / 0.6709 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7291, allocations: 0 / 0.6709 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005073/0.7342, allocations: 0.9895 MB / 0.6718 GB, free: 10.98 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.0006352/0.7348, allocations: 181.4 kB / 0.672 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.7452, allocations: 5.687 MB / 0.6776 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.7453, allocations: 0 / 0.6776 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.749, allocations: 2.157 MB / 0.6797 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/0.7527, allocations: 394.1 kB / 0.68 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/0.773, allocations: 10.1 MB / 0.6899 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/0.7787, allocations: 3.379 MB / 0.6932 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005011/0.7837, allocations: 1.99 MB / 0.6952 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/0.7847, allocations: 211.4 kB / 0.6954 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.7847, allocations: 0 / 0.6954 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of Templates: time 0.2706/1.055, allocations: 29.77 MB / 0.7244 GB, free: 163.3 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 -s gbode -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