Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.299/1.299, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009016/0.0009019, allocations: 94.05 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 15.94 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.3911, allocations: 100.5 MB / 0.4903 GB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.3915, allocations: 91.94 kB / 0.4903 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4178/0.8093, allocations: 92.45 MB / 0.5806 GB, free: 31.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8093, allocations: 0 / 0.5806 GB, free: 31.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.8095, allocations: 88 kB / 0.5807 GB, free: 31.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.0144/0.8239, allocations: 4.727 MB / 0.5853 GB, free: 27.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.824, allocations: 12.03 kB / 0.5853 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.8408, allocations: 4.436 MB / 0.5897 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.8542, allocations: 4.766 MB / 0.5943 GB, free: 17.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.8545, allocations: 341.1 kB / 0.5947 GB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002371/0.8569, allocations: 451.7 kB / 0.5951 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.8766, allocations: 11.29 MB / 0.6061 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.8768, allocations: 63.41 kB / 0.6062 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000578/0.8774, allocations: 215.9 kB / 0.6064 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001209/0.8786, allocations: 1.101 MB / 0.6075 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.8957, allocations: 9.256 MB / 0.6165 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/1.199, allocations: 50.37 MB / 0.6657 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.209, allocations: 4.776 MB / 0.6703 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/1.22, allocations: 7.279 MB / 0.6775 GB, free: 52.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.895e-05/1.22, allocations: 54.09 kB / 0.6775 GB, free: 52.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=177): time 5.25e-06/1.22, allocations: 0 / 0.6775 GB, free: 52.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=198): time 0.04002/1.26, allocations: 17.83 MB / 0.6949 GB, free: 49.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/1.26, allocations: 174.6 kB / 0.6951 GB, free: 48.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/1.266, allocations: 4.091 MB / 0.6991 GB, free: 48.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/1.266, allocations: 56.2 kB / 0.6991 GB, free: 48.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.268, allocations: 3.248 MB / 0.7023 GB, free: 46.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/1.269, allocations: 0.7471 MB / 0.703 GB, free: 46.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/1.269, allocations: 131 kB / 0.7032 GB, free: 46.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/1.269, allocations: 0.5648 MB / 0.7037 GB, free: 46.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.272, allocations: 2.202 MB / 0.7059 GB, free: 46.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/1.276, allocations: 5.936 MB / 0.7117 GB, free: 40.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/1.28, allocations: 3.558 MB / 0.7151 GB, free: 39.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-05/1.28, allocations: 39.16 kB / 0.7152 GB, free: 39.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.01234/1.293, allocations: 8.686 MB / 0.7236 GB, free: 37.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/1.293, allocations: 63.44 kB / 0.7237 GB, free: 37.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.293, allocations: 136.3 kB / 0.7238 GB, free: 37.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/1.295, allocations: 0.9118 MB / 0.7247 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/1.299, allocations: 1.482 MB / 0.7262 GB, free: 37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006058/1.305, allocations: 5.92 MB / 0.732 GB, free: 33.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/1.31, allocations: 349 kB / 0.7323 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.311, allocations: 378.6 kB / 0.7327 GB, free: 32.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 49 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 752 * Array equations: 3 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004196/1.315, allocations: 2.241 MB / 0.7348 GB, free: 30.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000795/1.316, allocations: 390.9 kB / 0.7352 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/1.322, allocations: 3.587 MB / 0.7387 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/1.322, allocations: 23.7 kB / 0.7387 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/1.322, allocations: 4 kB / 0.7387 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.322, allocations: 13.7 kB / 0.7388 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.34, allocations: 9.122 MB / 0.7477 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.34, allocations: 11.5 kB / 0.7477 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.341, allocations: 387.6 kB / 0.748 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.343, allocations: 0.7166 MB / 0.7487 GB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/1.343, allocations: 44.62 kB / 0.7488 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/1.349, allocations: 5.468 MB / 0.7541 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.349, allocations: 11.94 kB / 0.7541 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008501/1.357, allocations: 7.193 MB / 0.7612 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.359, allocations: 471.1 kB / 0.7616 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.36, allocations: 35.7 kB / 0.7616 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.363, allocations: 122.8 kB / 0.7618 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/1.363, allocations: 127.7 kB / 0.7619 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.363, allocations: 56 kB / 0.7619 GB, free: 6.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005368/1.368, allocations: 2.928 MB / 0.7648 GB, free: 4.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.368, allocations: 0 / 0.7648 GB, free: 4.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005939/1.374, allocations: 1.057 MB / 0.7658 GB, free: 3.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005848/1.375, allocations: 184 kB / 0.766 GB, free: 3.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008458/1.383, allocations: 5.436 MB / 0.7713 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.383, allocations: 4 kB / 0.7713 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/1.387, allocations: 1.919 MB / 0.7732 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.39, allocations: 470.8 kB / 0.7736 GB, free: 12.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.411, allocations: 11.8 MB / 0.7852 GB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005814/1.417, allocations: 3.544 MB / 0.7886 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005834/1.423, allocations: 2.053 MB / 0.7906 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.424, allocations: 263.4 kB / 0.7909 GB, free: 12.19 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/1.424, allocations: 0 / 0.7909 GB, free: 12.19 MB / 458.7 MB Notification: Performance of Templates: time 0.08279/1.507, allocations: 38.95 MB / 0.8289 GB, free: 6.066 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches