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.001482/0.001482, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 98.73 kB / 292.2 MB, free: 10.91 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.3711/0.3711, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3339, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4617, allocations: 106.9 MB / 0.614 GB, free: 4.172 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.462, allocations: 79.97 kB / 0.6141 GB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5154/0.9774, allocations: 91.05 MB / 0.703 GB, free: 96.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9774, allocations: 0 / 0.703 GB, free: 96.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.9776, allocations: 79.91 kB / 0.7031 GB, free: 96.65 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.01112/0.9887, allocations: 4.044 MB / 0.707 GB, free: 94.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.9887, allocations: 10.05 kB / 0.707 GB, free: 94.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/1.004, allocations: 3.529 MB / 0.7105 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.018, allocations: 4.284 MB / 0.7146 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004622/1.019, allocations: 317.9 kB / 0.7149 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003436/1.022, allocations: 427.5 kB / 0.7154 GB, free: 93.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/1.05, allocations: 10.75 MB / 0.7259 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003143/1.05, allocations: 27.41 kB / 0.7259 GB, free: 90.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/1.053, allocations: 193.2 kB / 0.7261 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/1.055, allocations: 1.218 MB / 0.7273 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/1.077, allocations: 10.38 MB / 0.7374 GB, free: 87.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05629/1.133, allocations: 36.97 MB / 0.7735 GB, free: 65.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008161/1.141, allocations: 4.588 MB / 0.778 GB, free: 61.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.142, allocations: 1.313 MB / 0.7793 GB, free: 60.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.142, allocations: 56.52 kB / 0.7793 GB, free: 60.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.903e-06/1.142, allocations: 0 / 0.7793 GB, free: 60.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03804/1.18, allocations: 17.86 MB / 0.7968 GB, free: 44.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.181, allocations: 73.41 kB / 0.7968 GB, free: 44.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/1.185, allocations: 2.44 MB / 0.7992 GB, free: 42.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/1.185, allocations: 60.28 kB / 0.7993 GB, free: 42.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.187, allocations: 2.776 MB / 0.802 GB, free: 39.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/1.188, allocations: 0.9121 MB / 0.8029 GB, free: 39.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/1.188, allocations: 104 kB / 0.803 GB, free: 38.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004088/1.188, allocations: 0.5374 MB / 0.8035 GB, free: 38.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.191, allocations: 2.279 MB / 0.8057 GB, free: 36.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/1.195, allocations: 5.167 MB / 0.8108 GB, free: 29.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/1.199, allocations: 3.435 MB / 0.8141 GB, free: 26.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-05/1.199, allocations: 32 kB / 0.8142 GB, free: 26.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01184/1.211, allocations: 8.21 MB / 0.8222 GB, free: 17.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/1.211, allocations: 50.41 kB / 0.8222 GB, free: 17.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/1.211, allocations: 104 kB / 0.8223 GB, free: 17.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/1.214, allocations: 0.9411 MB / 0.8232 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.218, allocations: 1.216 MB / 0.8244 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/1.223, allocations: 4.864 MB / 0.8292 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/1.227, allocations: 299.7 kB / 0.8295 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007981/1.228, allocations: 300 kB / 0.8297 GB, free: 9.922 MB / 490.7 MB 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.004066/1.232, allocations: 2.151 MB / 0.8318 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.232, allocations: 280.3 kB / 0.8321 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008146/1.241, allocations: 5.104 MB / 0.8371 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/1.241, allocations: 51.92 kB / 0.8371 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.241, allocations: 3.625 kB / 0.8372 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.241, allocations: 7.969 kB / 0.8372 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/1.266, allocations: 11.9 MB / 0.8488 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/1.266, allocations: 8 kB / 0.8488 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.268, allocations: 407.3 kB / 0.8492 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/1.271, allocations: 0.7772 MB / 0.8499 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004222/1.271, allocations: 44 kB / 0.85 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006049/1.277, allocations: 4.151 MB / 0.854 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.277, allocations: 11.94 kB / 0.854 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.291, allocations: 8.425 MB / 0.8623 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.292, allocations: 333.5 kB / 0.8626 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/1.293, allocations: 44 kB / 0.8626 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.295, allocations: 143.8 kB / 0.8628 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/1.295, allocations: 152.9 kB / 0.8629 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.295, allocations: 75.98 kB / 0.863 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004238/1.3, allocations: 1.665 MB / 0.8646 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.272e-06/1.3, allocations: 0 / 0.8646 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007131/1.307, allocations: 0.9951 MB / 0.8656 GB, free: 4.48 MB / 0.5105 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.0008083/1.308, allocations: 213.2 kB / 0.8658 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2721/1.58, allocations: 5.555 MB / 0.8712 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/1.58, allocations: 2.219 kB / 0.8712 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/1.583, allocations: 2.14 MB / 0.8733 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.585, allocations: 350.5 kB / 0.8736 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.605, allocations: 12.02 MB / 0.8854 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003836/1.609, allocations: 3.465 MB / 0.8888 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00459/1.613, allocations: 1.986 MB / 0.8907 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/1.614, allocations: 212.8 kB / 0.8909 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/1.614, allocations: 0 / 0.8909 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.06319/1.677, allocations: 31.52 MB / 0.9217 GB, free: 110.4 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