Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001593/0.001592, allocations: 116.2 kB / 17.08 MB, free: 5.953 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.00209/0.00209, allocations: 200.1 kB / 18.01 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.517/2.517, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5159/0.5159, allocations: 43.51 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003115, allocations: 65.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.187, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03008/0.2171, allocations: 13.93 MB / 0.5021 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.2336, allocations: 4.19 MB / 0.5062 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.2373, allocations: 75.81 kB / 0.5063 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007474/0.2448, allocations: 1.833 MB / 0.5081 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009513/0.2545, allocations: 1.868 MB / 0.5099 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.2575, allocations: 0.5576 MB / 0.5105 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009831/0.2674, allocations: 3.963 MB / 0.5143 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006576/0.274, allocations: 2.724 MB / 0.517 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.2785, allocations: 1.421 MB / 0.5184 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005851/0.2844, allocations: 1.978 MB / 0.5203 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.2861, allocations: 296 kB / 0.5206 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/0.2906, allocations: 0.9947 MB / 0.5216 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.2949, allocations: 1.808 MB / 0.5233 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005945/0.3009, allocations: 2.166 MB / 0.5255 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3998/0.7008, allocations: 7.071 MB / 0.5324 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.7009, allocations: 0 / 0.5324 GB, free: 13.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.701, allocations: 0 / 0.5324 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003617/0.7013, allocations: 0 / 0.5324 GB, free: 13.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.02396/0.7253, allocations: 4.635 MB / 0.5369 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.7255, allocations: 9.781 kB / 0.5369 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02435/0.7498, allocations: 3.116 MB / 0.5399 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009523/0.7594, allocations: 2.226 MB / 0.5421 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006243/0.7601, allocations: 221.5 kB / 0.5423 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/0.763, allocations: 295.3 kB / 0.5426 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04291/0.806, allocations: 11.33 MB / 0.5537 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005133/0.8066, allocations: 26.72 kB / 0.5537 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002627/0.8092, allocations: 133.7 kB / 0.5538 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009427/0.8187, allocations: 2.721 MB / 0.5565 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/0.8547, allocations: 10.47 MB / 0.5667 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/0.9608, allocations: 37.28 MB / 0.6031 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/0.9784, allocations: 4.575 MB / 0.6076 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006372/0.9849, allocations: 2.403 MB / 0.6099 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/0.9875, allocations: 1.313 MB / 0.6112 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.9877, allocations: 56.56 kB / 0.6113 GB, free: 7.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 2.335e-05/0.9878, allocations: 0 / 0.6113 GB, free: 7.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.09023/1.078, allocations: 17.62 MB / 0.6285 GB, free: 5.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.078, allocations: 81.34 kB / 0.6285 GB, free: 5.316 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009359/1.088, allocations: 2.804 MB / 0.6313 GB, free: 2.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009045/1.089, allocations: 57.7 kB / 0.6313 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00408/1.093, allocations: 2.851 MB / 0.6341 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002223/1.095, allocations: 0.9167 MB / 0.635 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005358/1.1, allocations: 1.087 MB / 0.6361 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/1.101, allocations: 305.1 kB / 0.6364 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007047/1.108, allocations: 2.33 MB / 0.6386 GB, free: 10.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/1.12, allocations: 5.319 MB / 0.6438 GB, free: 4.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/1.139, allocations: 8.385 MB / 0.652 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.139, allocations: 29.09 kB / 0.6521 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.03629/1.176, allocations: 8.385 MB / 0.6602 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/1.176, allocations: 48 kB / 0.6603 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/1.176, allocations: 104.9 kB / 0.6604 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/1.182, allocations: 0.9419 MB / 0.6613 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/1.195, allocations: 1.252 MB / 0.6625 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.21, allocations: 5.148 MB / 0.6676 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/1.218, allocations: 303.8 kB / 0.6678 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/1.219, allocations: 315.9 kB / 0.6682 GB, free: 10.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.008901/1.228, allocations: 2.197 MB / 0.6703 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/1.23, allocations: 280.3 kB / 0.6706 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02177/1.252, allocations: 5.132 MB / 0.6756 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001716/1.252, allocations: 47.98 kB / 0.6756 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/1.252, allocations: 3.438 kB / 0.6756 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.298e-05/1.252, allocations: 7.969 kB / 0.6756 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04748/1.3, allocations: 11.94 MB / 0.6873 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.738e-05/1.3, allocations: 12 kB / 0.6873 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/1.304, allocations: 400.2 kB / 0.6877 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/1.31, allocations: 0.7747 MB / 0.6884 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/1.311, allocations: 51.2 kB / 0.6885 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.324, allocations: 4.387 MB / 0.6928 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-05/1.324, allocations: 15.94 kB / 0.6928 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/1.351, allocations: 7.629 MB / 0.7002 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/1.354, allocations: 0.6809 MB / 0.7009 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/1.356, allocations: 54.28 kB / 0.701 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.359, allocations: 143.8 kB / 0.7011 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/1.361, allocations: 152.9 kB / 0.7012 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007299/1.361, allocations: 75.03 kB / 0.7013 GB, free: 8.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006187/1.368, allocations: 1.725 MB / 0.703 GB, free: 6.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.964e-06/1.368, allocations: 4 kB / 0.703 GB, free: 6.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01002/1.378, allocations: 0.9999 MB / 0.704 GB, free: 5.57 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.001421/1.379, allocations: 187.8 kB / 0.7042 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.398, allocations: 5.728 MB / 0.7097 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.398, allocations: 0 / 0.7097 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00696/1.405, allocations: 2.149 MB / 0.7118 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/1.411, allocations: 385.9 kB / 0.7122 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03987/1.451, allocations: 10.77 MB / 0.7227 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01168/1.463, allocations: 3.44 MB / 0.7261 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/1.466, allocations: 263.4 kB / 0.7263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of SimCode: time 4.278e-06/1.466, allocations: 0 / 0.7263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.6784/2.145, allocations: 77.8 MB / 0.8023 GB, free: 184.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches