Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001615, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001808/0.001808, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.835e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09455, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5318, allocations: 100.2 MB / 469.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.5322, allocations: 86.98 kB / 469.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7182/1.25, allocations: 97.69 MB / 0.5538 GB, free: 91.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.25, allocations: 2.375 kB / 0.5538 GB, free: 91.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003189/1.251, allocations: 90.8 kB / 0.5538 GB, free: 91.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01939/1.27, allocations: 4.677 MB / 0.5584 GB, free: 89.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.27, allocations: 6.312 kB / 0.5584 GB, free: 89.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/1.304, allocations: 4.509 MB / 0.5628 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/1.324, allocations: 5.055 MB / 0.5678 GB, free: 88.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/1.324, allocations: 360.9 kB / 0.5681 GB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/1.327, allocations: 487.7 kB / 0.5686 GB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03638/1.364, allocations: 11.96 MB / 0.5803 GB, free: 84.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003336/1.364, allocations: 62.52 kB / 0.5803 GB, free: 84.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/1.367, allocations: 231.8 kB / 0.5805 GB, free: 84.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002696/1.369, allocations: 1.193 MB / 0.5817 GB, free: 84.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03066/1.4, allocations: 9.832 MB / 0.5913 GB, free: 80.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08233/1.482, allocations: 52.97 MB / 0.643 GB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/1.503, allocations: 5.183 MB / 0.6481 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005603/1.509, allocations: 2.615 MB / 0.6506 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.53, allocations: 8.05 MB / 0.6585 GB, free: 18.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/1.53, allocations: 51.88 kB / 0.6586 GB, free: 18.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.182e-06/1.53, allocations: 0 / 0.6586 GB, free: 18.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.07404/1.604, allocations: 16.7 MB / 0.6749 GB, free: 1.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.604, allocations: 180.2 kB / 0.675 GB, free: 1.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/1.616, allocations: 4.179 MB / 0.6791 GB, free: 12.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007036/1.617, allocations: 61.7 kB / 0.6792 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004126/1.621, allocations: 3.302 MB / 0.6824 GB, free: 9.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.623, allocations: 0.8951 MB / 0.6833 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009798/1.624, allocations: 128 kB / 0.6834 GB, free: 8.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007478/1.625, allocations: 0.5956 MB / 0.684 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007476/1.632, allocations: 2.457 MB / 0.6864 GB, free: 5.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3127/1.945, allocations: 6.332 MB / 0.6926 GB, free: 93.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.956, allocations: 3.924 MB / 0.6964 GB, free: 93.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/1.956, allocations: 41.72 kB / 0.6964 GB, free: 93.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02943/1.985, allocations: 9.224 MB / 0.7054 GB, free: 92.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.986, allocations: 64 kB / 0.7055 GB, free: 92.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003104/1.986, allocations: 137.2 kB / 0.7056 GB, free: 92.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/1.99, allocations: 0.9244 MB / 0.7065 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/2.001, allocations: 1.599 MB / 0.7081 GB, free: 92.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/2.012, allocations: 5.774 MB / 0.7137 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008131/2.02, allocations: 383.3 kB / 0.7141 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/2.022, allocations: 400.4 kB / 0.7145 GB, free: 91.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (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.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * 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.002349/2.024, allocations: 0.6042 MB / 0.7151 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/2.025, allocations: 421.4 kB / 0.7155 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/2.038, allocations: 4.25 MB / 0.7196 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/2.038, allocations: 23.72 kB / 0.7197 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/2.038, allocations: 10.12 kB / 0.7197 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/2.038, allocations: 12.84 kB / 0.7197 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/2.07, allocations: 10.35 MB / 0.7298 GB, free: 86.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/2.07, allocations: 3.812 kB / 0.7298 GB, free: 86.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/2.075, allocations: 473.9 kB / 0.7302 GB, free: 86.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/2.078, allocations: 0.7199 MB / 0.7309 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006707/2.079, allocations: 50.59 kB / 0.731 GB, free: 86.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/2.09, allocations: 5.301 MB / 0.7362 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/2.09, allocations: 7.375 kB / 0.7362 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/2.108, allocations: 8.244 MB / 0.7442 GB, free: 79.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003315/2.112, allocations: 0.8175 MB / 0.745 GB, free: 79.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/2.113, allocations: 44.66 kB / 0.7451 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/2.118, allocations: 145.7 kB / 0.7452 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009688/2.119, allocations: 141.9 kB / 0.7453 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/2.119, allocations: 78.81 kB / 0.7454 GB, free: 79.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008346/2.127, allocations: 2.979 MB / 0.7483 GB, free: 78.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.127, allocations: 0 / 0.7483 GB, free: 78.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00857/2.136, allocations: 1.165 MB / 0.7495 GB, free: 78.14 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * 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.001114/2.137, allocations: 190.3 kB / 0.7496 GB, free: 78.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0148/2.152, allocations: 6.05 MB / 0.7555 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.152, allocations: 3.688 kB / 0.7555 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/2.158, allocations: 2.231 MB / 0.7577 GB, free: 74.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/2.163, allocations: 476.1 kB / 0.7582 GB, free: 74.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/2.192, allocations: 9.807 MB / 0.7678 GB, free: 67.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008706/2.201, allocations: 3.774 MB / 0.7714 GB, free: 64.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/2.203, allocations: 341.7 kB / 0.7718 GB, free: 64.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/2.203, allocations: 0 / 0.7718 GB, free: 64.19 MB / 426.7 MB Notification: Performance of Templates: time 0.489/2.692, allocations: 85.6 MB / 0.8554 GB, free: 102.1 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches