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.001537/0.001537, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.882/1.882, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001105/0.001105, allocations: 90.05 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003788, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.4852, allocations: 100.3 MB / 474.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4856, allocations: 87.95 kB / 474.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6347/1.12, allocations: 97.61 MB / 0.5591 GB, free: 56.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.12, allocations: 4.188 kB / 0.5591 GB, free: 56.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002274/1.121, allocations: 95.94 kB / 0.5592 GB, free: 56.46 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01811/1.139, allocations: 4.98 MB / 0.5641 GB, free: 51.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.139, allocations: 12.03 kB / 0.5641 GB, free: 51.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/1.171, allocations: 4.502 MB / 0.5685 GB, free: 46.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.189, allocations: 5.082 MB / 0.5734 GB, free: 41.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/1.189, allocations: 365.5 kB / 0.5738 GB, free: 41.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/1.191, allocations: 483.8 kB / 0.5742 GB, free: 40.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03162/1.222, allocations: 12.05 MB / 0.586 GB, free: 27.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/1.223, allocations: 59.48 kB / 0.5861 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/1.224, allocations: 235.9 kB / 0.5863 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002163/1.226, allocations: 1.195 MB / 0.5875 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02846/1.254, allocations: 9.974 MB / 0.5972 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3959/1.65, allocations: 52.96 MB / 0.6489 GB, free: 55.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02094/1.671, allocations: 5.238 MB / 0.654 GB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01915/1.691, allocations: 8.039 MB / 0.6619 GB, free: 52.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/1.691, allocations: 60.47 kB / 0.6619 GB, free: 52.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.983e-06/1.691, allocations: 0.5312 kB / 0.6619 GB, free: 52.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.07763/1.768, allocations: 19.44 MB / 0.6809 GB, free: 49.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/1.768, allocations: 181.5 kB / 0.6811 GB, free: 49.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/1.778, allocations: 4.224 MB / 0.6852 GB, free: 48.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006017/1.778, allocations: 59.42 kB / 0.6853 GB, free: 48.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002575/1.781, allocations: 3.301 MB / 0.6885 GB, free: 46.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.782, allocations: 0.8911 MB / 0.6894 GB, free: 46.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/1.783, allocations: 129.8 kB / 0.6895 GB, free: 46.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003866/1.783, allocations: 0.5894 MB / 0.6901 GB, free: 46.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006131/1.789, allocations: 2.514 MB / 0.6925 GB, free: 45.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008852/1.798, allocations: 6.398 MB / 0.6988 GB, free: 39.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009065/1.807, allocations: 3.941 MB / 0.7026 GB, free: 38.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.808, allocations: 37.59 kB / 0.7027 GB, free: 38.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02483/1.832, allocations: 9.338 MB / 0.7118 GB, free: 35.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.833, allocations: 64.03 kB / 0.7118 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/1.833, allocations: 135.2 kB / 0.712 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/1.836, allocations: 0.9243 MB / 0.7129 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009876/1.846, allocations: 1.605 MB / 0.7144 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.857, allocations: 5.934 MB / 0.7202 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007825/1.865, allocations: 375.6 kB / 0.7206 GB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/1.867, allocations: 399.2 kB / 0.721 GB, free: 28.68 MB / 410.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 () * Number of clocked 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.006374/1.873, allocations: 2.385 MB / 0.7233 GB, free: 26.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.874, allocations: 418.6 kB / 0.7237 GB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.886, allocations: 4.297 MB / 0.7279 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/1.886, allocations: 24 kB / 0.7279 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.886, allocations: 6.406 kB / 0.7279 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-05/1.886, allocations: 20.66 kB / 0.7279 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/1.913, allocations: 10.4 MB / 0.7381 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.913, allocations: 6.719 kB / 0.7381 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004255/1.917, allocations: 476.4 kB / 0.7386 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.921, allocations: 0.7259 MB / 0.7393 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/1.921, allocations: 40.55 kB / 0.7393 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.931, allocations: 5.482 MB / 0.7447 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/1.932, allocations: 11.94 kB / 0.7447 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.948, allocations: 8.32 MB / 0.7528 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/1.951, allocations: 0.8259 MB / 0.7536 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.952, allocations: 59.12 kB / 0.7537 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003745/1.956, allocations: 180.6 kB / 0.7538 GB, free: 0 / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000619/1.957, allocations: 149.7 kB / 0.754 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.957, allocations: 71.94 kB / 0.7541 GB, free: 15.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007369/1.964, allocations: 3.021 MB / 0.757 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.964, allocations: 2.5 kB / 0.757 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00777/1.972, allocations: 1.155 MB / 0.7581 GB, free: 12.21 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 (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.0006877/1.973, allocations: 195.3 kB / 0.7583 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.989, allocations: 6.149 MB / 0.7643 GB, free: 6.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.989, allocations: 0 / 0.7643 GB, free: 6.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006291/1.995, allocations: 2.273 MB / 0.7665 GB, free: 4.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.999, allocations: 475 kB / 0.767 GB, free: 3.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/2.029, allocations: 13.46 MB / 0.7801 GB, free: 6.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/2.036, allocations: 3.776 MB / 0.7838 GB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/2.039, allocations: 347.4 kB / 0.7842 GB, free: 1.934 MB / 442.7 MB Notification: Performance of SimCode: time 2.114e-06/2.039, allocations: 0 / 0.7842 GB, free: 1.934 MB / 442.7 MB Notification: Performance of Templates: time 0.4798/2.518, allocations: 85.6 MB / 0.8677 GB, free: 120 MB / 474.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