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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 87.5 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1817/0.1817, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.747e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.5021, allocations: 106.2 MB / 0.5984 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.5025, allocations: 79.95 kB / 0.5984 GB, free: 6.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2188/0.7213, allocations: 89.38 MB / 0.6857 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7213, allocations: 0 / 0.6857 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001315/0.7215, allocations: 84 kB / 0.6858 GB, free: 12.06 MB / 0.4948 GB 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.009436/0.7309, allocations: 3.89 MB / 0.6896 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.731, allocations: 11.98 kB / 0.6896 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.7455, allocations: 3.527 MB / 0.6931 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.7568, allocations: 4.268 MB / 0.6972 GB, free: 236 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.7571, allocations: 136 kB / 0.6974 GB, free: 100 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2903/1.047, allocations: 241.5 kB / 0.6976 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01592/1.063, allocations: 7.562 MB / 0.705 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/1.09, allocations: 9.878 MB / 0.7146 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/1.09, allocations: 31.83 kB / 0.7147 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/1.091, allocations: 13.73 kB / 0.7147 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/1.093, allocations: 1.219 MB / 0.7159 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04852/1.142, allocations: 34.52 MB / 0.7496 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/1.147, allocations: 4.357 MB / 0.7538 GB, free: 97.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/1.15, allocations: 2.334 MB / 0.7561 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009754/1.151, allocations: 1.324 MB / 0.7574 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/1.151, allocations: 65.66 kB / 0.7575 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 8.186e-06/1.151, allocations: 3.094 kB / 0.7575 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.02556/1.176, allocations: 15.58 MB / 0.7727 GB, free: 90.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.176, allocations: 79.03 kB / 0.7728 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/1.179, allocations: 2.272 MB / 0.775 GB, free: 89.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003137/1.18, allocations: 25.7 kB / 0.775 GB, free: 89.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.181, allocations: 2.861 MB / 0.7778 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007461/1.182, allocations: 0.8977 MB / 0.7787 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/1.182, allocations: 0 / 0.7787 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.182, allocations: 0.5535 MB / 0.7792 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.184, allocations: 2.217 MB / 0.7814 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/1.188, allocations: 5.317 MB / 0.7866 GB, free: 79.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/1.192, allocations: 3.464 MB / 0.7899 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-05/1.192, allocations: 32 kB / 0.79 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01156/1.204, allocations: 7.754 MB / 0.7975 GB, free: 69.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/1.204, allocations: 55.19 kB / 0.7976 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/1.204, allocations: 108.9 kB / 0.7977 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/1.207, allocations: 0.9593 MB / 0.7986 GB, free: 69.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.211, allocations: 1.296 MB / 0.7999 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/1.216, allocations: 4.539 MB / 0.8043 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/1.22, allocations: 202.7 kB / 0.8045 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009257/1.221, allocations: 331.4 kB / 0.8048 GB, free: 63.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 689 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008092/1.222, allocations: 396.7 kB / 0.8052 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/1.223, allocations: 272.4 kB / 0.8055 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/1.23, allocations: 4.93 MB / 0.8103 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/1.23, allocations: 44.94 kB / 0.8103 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.23, allocations: 4 kB / 0.8103 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.23, allocations: 11.3 kB / 0.8104 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.246, allocations: 10.78 MB / 0.8209 GB, free: 49.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.246, allocations: 12 kB / 0.8209 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.247, allocations: 402.1 kB / 0.8213 GB, free: 49.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002264/1.249, allocations: 0.7654 MB / 0.822 GB, free: 49.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.25, allocations: 24 kB / 0.822 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/1.254, allocations: 3.872 MB / 0.8258 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.254, allocations: 11.94 kB / 0.8258 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009213/1.263, allocations: 8.292 MB / 0.8339 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.264, allocations: 317.2 kB / 0.8342 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/1.265, allocations: 19.7 kB / 0.8343 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.266, allocations: 111.5 kB / 0.8344 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/1.266, allocations: 157.7 kB / 0.8345 GB, free: 37.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.267, allocations: 71.75 kB / 0.8346 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00228/1.269, allocations: 1.496 MB / 0.836 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.269, allocations: 0 / 0.836 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004614/1.274, allocations: 0.8643 MB / 0.8369 GB, free: 35.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004987/1.274, allocations: 160.9 kB / 0.837 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007348/1.281, allocations: 5.386 MB / 0.8423 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.281, allocations: 4 kB / 0.8423 GB, free: 30.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.284, allocations: 2.082 MB / 0.8443 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.285, allocations: 250.9 kB / 0.8446 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.299, allocations: 8.474 MB / 0.8529 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.302, allocations: 3.468 MB / 0.8562 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004527/1.307, allocations: 2.083 MB / 0.8583 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/1.307, allocations: 215.3 kB / 0.8585 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.307, allocations: 0 / 0.8585 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.06335/1.371, allocations: 27.81 MB / 0.8856 GB, free: 2.176 MB / 0.5105 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches