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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009234/0.0009232, allocations: 78.89 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2368/0.2368, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5927, allocations: 105.4 MB / 0.5817 GB, free: 10.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5931, allocations: 79.44 kB / 0.5818 GB, free: 10.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2294/0.8225, allocations: 91.6 MB / 0.6712 GB, free: 6.738 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8226, allocations: 0 / 0.6712 GB, free: 6.738 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001547/0.8227, allocations: 76 kB / 0.6713 GB, free: 6.664 MB / 474.7 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.01375/0.8365, allocations: 4.136 MB / 0.6753 GB, free: 2.457 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.8366, allocations: 8.031 kB / 0.6753 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.8519, allocations: 3.547 MB / 0.6788 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.8658, allocations: 4.461 MB / 0.6832 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.8663, allocations: 324.5 kB / 0.6835 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/0.8693, allocations: 435.8 kB / 0.6839 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/0.8984, allocations: 10.94 MB / 0.6946 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/0.8987, allocations: 27.72 kB / 0.6946 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.9002, allocations: 199.8 kB / 0.6948 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.9022, allocations: 1.251 MB / 0.696 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.9253, allocations: 10.47 MB / 0.7062 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.399/1.324, allocations: 37.83 MB / 0.7432 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/1.333, allocations: 4.58 MB / 0.7476 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.334, allocations: 1.333 MB / 0.7489 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.334, allocations: 53.19 kB / 0.749 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 7.965e-06/1.334, allocations: 0 / 0.749 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.03575/1.37, allocations: 17.93 MB / 0.7665 GB, free: 98.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.37, allocations: 82.2 kB / 0.7666 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/1.375, allocations: 2.494 MB / 0.769 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00032/1.375, allocations: 62.66 kB / 0.7691 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.376, allocations: 2.854 MB / 0.7719 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009236/1.377, allocations: 0.913 MB / 0.7728 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.378, allocations: 107.2 kB / 0.7729 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003233/1.378, allocations: 0.539 MB / 0.7734 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.381, allocations: 2.292 MB / 0.7756 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/1.385, allocations: 5.255 MB / 0.7808 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/1.39, allocations: 3.473 MB / 0.7842 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-05/1.39, allocations: 32.06 kB / 0.7842 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01356/1.404, allocations: 8.297 MB / 0.7923 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/1.404, allocations: 52.25 kB / 0.7923 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.404, allocations: 104.4 kB / 0.7924 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/1.406, allocations: 0.9524 MB / 0.7934 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.411, allocations: 1.241 MB / 0.7946 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/1.417, allocations: 4.87 MB / 0.7993 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004739/1.421, allocations: 297.9 kB / 0.7996 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009123/1.422, allocations: 309.7 kB / 0.7999 GB, free: 82.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * 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 (664): * Single equations (assignments): 657 * 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.00546/1.428, allocations: 2.194 MB / 0.8021 GB, free: 81.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008343/1.429, allocations: 286.9 kB / 0.8023 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/1.438, allocations: 5.101 MB / 0.8073 GB, free: 77.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.177e-05/1.438, allocations: 50.2 kB / 0.8074 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/1.438, allocations: 4 kB / 0.8074 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.438, allocations: 10.36 kB / 0.8074 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/1.463, allocations: 11.98 MB / 0.8191 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.463, allocations: 12 kB / 0.8191 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.465, allocations: 402.7 kB / 0.8195 GB, free: 66.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/1.467, allocations: 0.7762 MB / 0.8202 GB, free: 66.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.467, allocations: 50.91 kB / 0.8203 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/1.472, allocations: 4.141 MB / 0.8243 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.472, allocations: 11.94 kB / 0.8243 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.483, allocations: 8.448 MB / 0.8326 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.486, allocations: 0.687 MB / 0.8332 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009688/1.487, allocations: 51.89 kB / 0.8333 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.489, allocations: 139.9 kB / 0.8334 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/1.489, allocations: 157.8 kB / 0.8336 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.489, allocations: 71.84 kB / 0.8336 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004085/1.493, allocations: 1.702 MB / 0.8353 GB, free: 52.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.493, allocations: 4 kB / 0.8353 GB, free: 52.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007365/1.501, allocations: 1.012 MB / 0.8363 GB, free: 51.47 MB / 0.4948 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.0006085/1.501, allocations: 193.4 kB / 0.8365 GB, free: 51.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007611/1.509, allocations: 5.605 MB / 0.842 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.509, allocations: 8.062 kB / 0.842 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/1.512, allocations: 2.143 MB / 0.8441 GB, free: 44.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.514, allocations: 346.4 kB / 0.8444 GB, free: 44.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.533, allocations: 12.24 MB / 0.8563 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/1.537, allocations: 3.536 MB / 0.8598 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004483/1.541, allocations: 1.998 MB / 0.8618 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/1.542, allocations: 215.4 kB / 0.862 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.954e-06/1.542, allocations: 0 / 0.862 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.05729/1.599, allocations: 31.7 MB / 0.8929 GB, free: 11.68 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches