Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 194.6 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008269/0.000827, allocations: 96.78 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3314/0.3314, allocations: 44.81 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003709, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.432, allocations: 107.8 MB / 0.6217 GB, free: 13.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4324, allocations: 83.95 kB / 0.6218 GB, free: 13.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4647/0.8971, allocations: 90.26 MB / 0.71 GB, free: 99.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.8972, allocations: 0 / 0.71 GB, free: 99.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002647/0.8975, allocations: 82.31 kB / 0.71 GB, free: 99.28 MB / 490.7 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.01452/0.912, allocations: 3.951 MB / 0.7139 GB, free: 97.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9121, allocations: 11.25 kB / 0.7139 GB, free: 97.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.9272, allocations: 3.505 MB / 0.7173 GB, free: 97.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009085/0.9363, allocations: 3.103 MB / 0.7204 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.9368, allocations: 320.6 kB / 0.7207 GB, free: 96.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.9394, allocations: 417.1 kB / 0.7211 GB, free: 96.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/0.9657, allocations: 10.69 MB / 0.7315 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003714/0.9662, allocations: 32.62 kB / 0.7315 GB, free: 92.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002811/0.969, allocations: 194.2 kB / 0.7317 GB, free: 92.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.9709, allocations: 1.216 MB / 0.7329 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.992, allocations: 10.29 MB / 0.7429 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05472/1.047, allocations: 36.94 MB / 0.779 GB, free: 61.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008228/1.055, allocations: 4.579 MB / 0.7835 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/1.058, allocations: 2.396 MB / 0.7858 GB, free: 54.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009675/1.059, allocations: 1.321 MB / 0.7871 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.059, allocations: 60.48 kB / 0.7872 GB, free: 52.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.041e-06/1.059, allocations: 0 / 0.7872 GB, free: 52.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03784/1.097, allocations: 17.33 MB / 0.8041 GB, free: 35.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.097, allocations: 73.41 kB / 0.8042 GB, free: 35.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/1.102, allocations: 2.742 MB / 0.8069 GB, free: 32.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005242/1.102, allocations: 61.7 kB / 0.8069 GB, free: 32.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/1.104, allocations: 2.768 MB / 0.8096 GB, free: 29.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.105, allocations: 0.9196 MB / 0.8105 GB, free: 28.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005974/1.106, allocations: 100 kB / 0.8106 GB, free: 28.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004687/1.106, allocations: 0.5413 MB / 0.8111 GB, free: 27.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/1.11, allocations: 2.279 MB / 0.8134 GB, free: 25.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/1.114, allocations: 5.183 MB / 0.8184 GB, free: 19.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008023/1.122, allocations: 8.226 MB / 0.8265 GB, free: 9.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.122, allocations: 32 kB / 0.8265 GB, free: 9.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01446/1.137, allocations: 8.2 MB / 0.8345 GB, free: 1.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.137, allocations: 48 kB / 0.8345 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/1.137, allocations: 107.9 kB / 0.8346 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/1.14, allocations: 0.9258 MB / 0.8356 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/1.144, allocations: 1.217 MB / 0.8367 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/1.151, allocations: 4.742 MB / 0.8414 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/1.156, allocations: 306.6 kB / 0.8417 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.157, allocations: 304 kB / 0.842 GB, free: 9.426 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005749/1.163, allocations: 2.159 MB / 0.8441 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008212/1.163, allocations: 272.4 kB / 0.8443 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009965/1.173, allocations: 5.102 MB / 0.8493 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.005e-05/1.174, allocations: 43.98 kB / 0.8493 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.174, allocations: 4 kB / 0.8494 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.174, allocations: 7.969 kB / 0.8494 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/1.199, allocations: 11.9 MB / 0.861 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/1.199, allocations: 8 kB / 0.861 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.201, allocations: 400.1 kB / 0.8614 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/1.203, allocations: 0.7809 MB / 0.8621 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003751/1.204, allocations: 44 kB / 0.8622 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/1.209, allocations: 4.021 MB / 0.8661 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/1.209, allocations: 19.92 kB / 0.8661 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.221, allocations: 7.598 MB / 0.8735 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.222, allocations: 329.5 kB / 0.8739 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008839/1.223, allocations: 51.98 kB / 0.8739 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.225, allocations: 135.8 kB / 0.874 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005567/1.226, allocations: 152.9 kB / 0.8742 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/1.226, allocations: 75.81 kB / 0.8743 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003796/1.23, allocations: 1.665 MB / 0.8759 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/1.23, allocations: 4 kB / 0.8759 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006257/1.236, allocations: 0.9999 MB / 0.8769 GB, free: 5.164 MB / 0.5261 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 (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.000777/1.237, allocations: 202.2 kB / 0.8771 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2285/1.466, allocations: 5.559 MB / 0.8825 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.466, allocations: 1.625 kB / 0.8825 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.469, allocations: 2.146 MB / 0.8846 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/1.475, allocations: 372.3 kB / 0.8849 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.493, allocations: 12.55 MB / 0.8972 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/1.497, allocations: 3.389 MB / 0.9005 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.498, allocations: 254.5 kB / 0.9007 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/1.498, allocations: 0.8125 kB / 0.9007 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.09858/1.596, allocations: 74.52 MB / 0.9735 GB, free: 101.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches