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.001389/0.001389, allocations: 109.7 kB / 17.21 MB, free: 6.285 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.001584/0.001584, allocations: 190 kB / 18.12 MB, free: 5.379 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.403/1.403, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.219/0.219, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.03 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0391/0.1653, allocations: 37.95 MB / 0.4946 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.1854, allocations: 8.23 MB / 0.5026 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007483/0.193, allocations: 159.6 kB / 0.5028 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2669/0.4599, allocations: 1.779 MB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.4661, allocations: 1.718 MB / 0.5062 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.468, allocations: 0.5156 MB / 0.5067 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009989/0.478, allocations: 5.412 MB / 0.512 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005403/0.4834, allocations: 2.631 MB / 0.5146 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.4865, allocations: 1.195 MB / 0.5157 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005703/0.4923, allocations: 2.044 MB / 0.5177 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.4937, allocations: 203.3 kB / 0.5179 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.4968, allocations: 0.9871 MB / 0.5189 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.4993, allocations: 1.705 MB / 0.5205 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.502, allocations: 2.04 MB / 0.5225 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.5105, allocations: 6.589 MB / 0.529 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5105, allocations: 0 / 0.529 GB, free: 4.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5105, allocations: 2.812 kB / 0.529 GB, free: 4.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.5108, allocations: 0 / 0.529 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.009788/0.5206, allocations: 4.544 MB / 0.5334 GB, free: 1.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5206, allocations: 9.938 kB / 0.5334 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009373/0.53, allocations: 3.122 MB / 0.5365 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/0.5353, allocations: 2.123 MB / 0.5385 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.5355, allocations: 224.1 kB / 0.5388 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008472/0.5363, allocations: 287.4 kB / 0.539 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.5579, allocations: 11.12 MB / 0.5499 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.5581, allocations: 28.66 kB / 0.5499 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006074/0.5587, allocations: 141.2 kB / 0.55 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005831/0.5646, allocations: 2.623 MB / 0.5526 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/0.5875, allocations: 10.37 MB / 0.5627 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05824/0.6458, allocations: 36.68 MB / 0.5986 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/0.6556, allocations: 4.573 MB / 0.603 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/0.6592, allocations: 2.396 MB / 0.6054 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.6606, allocations: 1.316 MB / 0.6067 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.6607, allocations: 56.55 kB / 0.6067 GB, free: 8.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 9.829e-06/0.6607, allocations: 4 kB / 0.6067 GB, free: 8.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.0408/0.7015, allocations: 17.59 MB / 0.6239 GB, free: 7.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.7016, allocations: 72.12 kB / 0.624 GB, free: 7.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/0.7061, allocations: 2.739 MB / 0.6266 GB, free: 4.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004984/0.7066, allocations: 65.22 kB / 0.6267 GB, free: 4.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.7087, allocations: 2.767 MB / 0.6294 GB, free: 1.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.71, allocations: 0.9171 MB / 0.6303 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.7116, allocations: 1.075 MB / 0.6313 GB, free: 15.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7117, allocations: 305.1 kB / 0.6316 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.7152, allocations: 2.314 MB / 0.6339 GB, free: 12.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.7209, allocations: 5.219 MB / 0.639 GB, free: 6.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/0.7329, allocations: 8.276 MB / 0.6471 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.733, allocations: 28 kB / 0.6471 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01703/0.7501, allocations: 8.297 MB / 0.6552 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.7502, allocations: 48 kB / 0.6552 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.7504, allocations: 100 kB / 0.6553 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.7532, allocations: 0.9416 MB / 0.6563 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/0.7577, allocations: 1.224 MB / 0.6575 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.7646, allocations: 4.784 MB / 0.6621 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/0.7689, allocations: 295.8 kB / 0.6624 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/0.7703, allocations: 308 kB / 0.6627 GB, free: 13.03 MB / 0.5137 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.005046/0.7753, allocations: 2.157 MB / 0.6648 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007418/0.7761, allocations: 276.3 kB / 0.6651 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/0.785, allocations: 5.136 MB / 0.6701 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.904e-05/0.7851, allocations: 48.55 kB / 0.6701 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.7852, allocations: 0 / 0.6701 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.7852, allocations: 15.95 kB / 0.6701 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/0.807, allocations: 11.89 MB / 0.6818 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.8071, allocations: 15.98 kB / 0.6818 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.8087, allocations: 395.3 kB / 0.6822 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.8111, allocations: 0.7773 MB / 0.6829 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.8113, allocations: 51.98 kB / 0.683 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005457/0.8168, allocations: 4.088 MB / 0.687 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.8168, allocations: 19.88 kB / 0.687 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/0.8367, allocations: 7.626 MB / 0.6944 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/0.8387, allocations: 329.5 kB / 0.6947 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/0.8399, allocations: 47.98 kB / 0.6948 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.842, allocations: 151.8 kB / 0.6949 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/0.8426, allocations: 156.8 kB / 0.6951 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/0.8429, allocations: 74.27 kB / 0.6951 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004272/0.8472, allocations: 1.689 MB / 0.6968 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8472, allocations: 0 / 0.6968 GB, free: 9.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008092/0.8553, allocations: 0.9882 MB / 0.6978 GB, free: 8.617 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.0008028/0.8561, allocations: 194.5 kB / 0.6979 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01342/0.8696, allocations: 5.624 MB / 0.7034 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/0.8696, allocations: 5.875 kB / 0.7034 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/0.8749, allocations: 2.148 MB / 0.7055 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.8787, allocations: 387.9 kB / 0.7059 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3712/1.25, allocations: 12.4 MB / 0.718 GB, free: 160.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008105/1.258, allocations: 3.375 MB / 0.7213 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006641/1.265, allocations: 1.979 MB / 0.7232 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009306/1.266, allocations: 221.2 kB / 0.7235 GB, free: 159.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.392e-06/1.266, allocations: 0 / 0.7235 GB, free: 159.7 MB / 0.545 GB Notification: Performance of Templates: time 0.06568/1.332, allocations: 32.65 MB / 0.7553 GB, free: 141.8 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