Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.12 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 79.67 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.156, allocations: 62.44 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3/0.4561, allocations: 37.7 MB / 0.5049 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4781, allocations: 8.172 MB / 0.5129 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.4899, allocations: 154.3 kB / 0.513 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005807/0.4957, allocations: 1.78 MB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.5033, allocations: 1.689 MB / 0.5164 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.5056, allocations: 0.5053 MB / 0.5169 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.516, allocations: 5.441 MB / 0.5222 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006668/0.5227, allocations: 2.632 MB / 0.5248 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003963/0.5267, allocations: 1.183 MB / 0.5259 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.5313, allocations: 2.035 MB / 0.5279 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.5328, allocations: 204.4 kB / 0.5281 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.5362, allocations: 0.9573 MB / 0.529 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.5386, allocations: 1.681 MB / 0.5307 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.5412, allocations: 2.027 MB / 0.5327 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.5494, allocations: 6.522 MB / 0.539 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5495, allocations: 0 / 0.539 GB, free: 14.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5495, allocations: 0 / 0.539 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000307/0.5498, allocations: 3.938 kB / 0.539 GB, free: 14.53 MB / 398.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.01126/0.5611, allocations: 4.516 MB / 0.5434 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5612, allocations: 11.34 kB / 0.5435 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.5717, allocations: 3.114 MB / 0.5465 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/0.5771, allocations: 2.097 MB / 0.5485 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.5773, allocations: 216.2 kB / 0.5488 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008017/0.5781, allocations: 294.6 kB / 0.549 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.5982, allocations: 11.11 MB / 0.5599 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-05/0.5983, allocations: 35.64 kB / 0.5599 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.5988, allocations: 135 kB / 0.56 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00438/0.6031, allocations: 2.617 MB / 0.5626 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.6238, allocations: 10.38 MB / 0.5727 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05987/0.6837, allocations: 36.7 MB / 0.6086 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009513/0.6933, allocations: 4.571 MB / 0.613 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/0.6969, allocations: 2.404 MB / 0.6154 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.6984, allocations: 1.315 MB / 0.6167 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.6984, allocations: 56.5 kB / 0.6167 GB, free: 15.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.182e-06/0.6985, allocations: 0 / 0.6167 GB, free: 15.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04288/0.7413, allocations: 17.59 MB / 0.6339 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.7414, allocations: 69.41 kB / 0.634 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/0.7465, allocations: 2.73 MB / 0.6366 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.7468, allocations: 63.88 kB / 0.6367 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.7491, allocations: 2.766 MB / 0.6394 GB, free: 7.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/0.7504, allocations: 0.918 MB / 0.6403 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.7525, allocations: 1.067 MB / 0.6413 GB, free: 5.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7526, allocations: 301.1 kB / 0.6416 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/0.7565, allocations: 2.318 MB / 0.6439 GB, free: 3.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.7624, allocations: 5.222 MB / 0.649 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.7726, allocations: 8.276 MB / 0.6571 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.857e-05/0.7727, allocations: 28 kB / 0.6571 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01591/0.7886, allocations: 8.288 MB / 0.6652 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.7887, allocations: 52.03 kB / 0.6652 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/0.7889, allocations: 104 kB / 0.6653 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.7916, allocations: 0.945 MB / 0.6663 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.7953, allocations: 1.22 MB / 0.6674 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/0.8019, allocations: 4.782 MB / 0.6721 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.8056, allocations: 295.8 kB / 0.6724 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007647/0.8064, allocations: 308 kB / 0.6727 GB, free: 2.723 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.003841/0.8102, allocations: 2.161 MB / 0.6748 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.8108, allocations: 272.4 kB / 0.6751 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/0.8203, allocations: 5.175 MB / 0.6801 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/0.8204, allocations: 40 kB / 0.6802 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.8205, allocations: 4 kB / 0.6802 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.8205, allocations: 11.95 kB / 0.6802 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/0.8451, allocations: 11.91 MB / 0.6918 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.8452, allocations: 11.94 kB / 0.6918 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/0.847, allocations: 399.4 kB / 0.6922 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002556/0.8496, allocations: 0.7788 MB / 0.693 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/0.85, allocations: 47.98 kB / 0.693 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/0.8567, allocations: 4.1 MB / 0.697 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.694e-05/0.8567, allocations: 19.88 kB / 0.697 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.87, allocations: 7.623 MB / 0.7045 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009466/0.871, allocations: 325.6 kB / 0.7048 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007559/0.8718, allocations: 50.17 kB / 0.7048 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.8735, allocations: 147.8 kB / 0.705 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/0.874, allocations: 156.8 kB / 0.7051 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/0.8742, allocations: 70.34 kB / 0.7052 GB, free: 1.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3078/1.182, allocations: 1.682 MB / 0.7068 GB, free: 193.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.81e-07/1.182, allocations: 0.8438 kB / 0.7068 GB, free: 193.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007265/1.189, allocations: 0.9671 MB / 0.7078 GB, free: 193.1 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.0006559/1.19, allocations: 188.7 kB / 0.708 GB, free: 193.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009961/1.2, allocations: 5.633 MB / 0.7135 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.2, allocations: 3.328 kB / 0.7135 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.204, allocations: 2.153 MB / 0.7156 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.206, allocations: 369.6 kB / 0.7159 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.23, allocations: 12.4 MB / 0.728 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005003/1.235, allocations: 3.376 MB / 0.7313 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004817/1.24, allocations: 1.979 MB / 0.7332 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000666/1.241, allocations: 218.6 kB / 0.7335 GB, free: 182.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/1.241, allocations: 0 / 0.7335 GB, free: 182.8 MB / 0.545 GB Notification: Performance of Templates: time 0.05688/1.298, allocations: 32.54 MB / 0.7652 GB, free: 160.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches