Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001651/0.00165, allocations: 180 kB / 17.01 MB, free: 5.125 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.374/1.374, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0007767/0.0007768, allocations: 102.5 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002344, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2202, allocations: 47.57 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3269, allocations: 100.3 MB / 476.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3272, allocations: 91.94 kB / 476.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3612/0.6884, allocations: 97.62 MB / 0.5603 GB, free: 56.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6884, allocations: 0 / 0.5603 GB, free: 56.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.6886, allocations: 99.98 kB / 0.5604 GB, free: 56.36 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.01059/0.6992, allocations: 4.984 MB / 0.5653 GB, free: 51.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6993, allocations: 12.03 kB / 0.5653 GB, free: 51.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/0.7162, allocations: 4.491 MB / 0.5697 GB, free: 46.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.7283, allocations: 5.094 MB / 0.5747 GB, free: 41.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.7285, allocations: 357.5 kB / 0.575 GB, free: 41.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.7301, allocations: 483.8 kB / 0.5755 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.749, allocations: 12.05 MB / 0.5873 GB, free: 27.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.7491, allocations: 59.48 kB / 0.5873 GB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006192/0.7498, allocations: 231.9 kB / 0.5875 GB, free: 27.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.751, allocations: 1.195 MB / 0.5887 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.7674, allocations: 9.974 MB / 0.5984 GB, free: 16.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2544/1.022, allocations: 52.96 MB / 0.6502 GB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/1.033, allocations: 5.248 MB / 0.6553 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/1.045, allocations: 8.035 MB / 0.6631 GB, free: 52.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/1.046, allocations: 56.47 kB / 0.6632 GB, free: 52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 5.901e-06/1.046, allocations: 0 / 0.6632 GB, free: 52 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.04335/1.089, allocations: 19.45 MB / 0.6822 GB, free: 48.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/1.089, allocations: 177.4 kB / 0.6824 GB, free: 48.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/1.095, allocations: 4.226 MB / 0.6865 GB, free: 47.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004561/1.095, allocations: 58.64 kB / 0.6865 GB, free: 47.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/1.097, allocations: 3.433 MB / 0.6899 GB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/1.098, allocations: 0.8882 MB / 0.6908 GB, free: 45.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/1.098, allocations: 132.8 kB / 0.6909 GB, free: 45.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/1.099, allocations: 0.5813 MB / 0.6914 GB, free: 45.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/1.102, allocations: 2.509 MB / 0.6939 GB, free: 44.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004513/1.106, allocations: 6.404 MB / 0.7002 GB, free: 38.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/1.111, allocations: 3.936 MB / 0.704 GB, free: 37.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.459e-05/1.111, allocations: 40.84 kB / 0.704 GB, free: 37.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01408/1.125, allocations: 9.497 MB / 0.7133 GB, free: 34.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.125, allocations: 66.69 kB / 0.7134 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/1.125, allocations: 139.9 kB / 0.7135 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/1.128, allocations: 0.9225 MB / 0.7144 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/1.132, allocations: 1.601 MB / 0.716 GB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/1.139, allocations: 5.936 MB / 0.7218 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005225/1.144, allocations: 379.6 kB / 0.7221 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.145, allocations: 398.1 kB / 0.7225 GB, free: 27.3 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.004563/1.149, allocations: 2.376 MB / 0.7248 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009699/1.15, allocations: 414.6 kB / 0.7252 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007188/1.158, allocations: 4.303 MB / 0.7294 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.158, allocations: 27.2 kB / 0.7295 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.158, allocations: 4 kB / 0.7295 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/1.158, allocations: 14.64 kB / 0.7295 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.176, allocations: 10.4 MB / 0.7396 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.177, allocations: 14.75 kB / 0.7396 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.179, allocations: 473.3 kB / 0.7401 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.18, allocations: 0.7178 MB / 0.7408 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.181, allocations: 47.75 kB / 0.7408 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005888/1.187, allocations: 5.467 MB / 0.7462 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.187, allocations: 11.94 kB / 0.7462 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.198, allocations: 8.529 MB / 0.7545 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/1.201, allocations: 0.8182 MB / 0.7553 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008432/1.202, allocations: 40 kB / 0.7554 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.204, allocations: 146.7 kB / 0.7555 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/1.204, allocations: 144.4 kB / 0.7556 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.204, allocations: 67.66 kB / 0.7557 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005644/1.21, allocations: 3.02 MB / 0.7586 GB, free: 12.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.21, allocations: 1.531 kB / 0.7586 GB, free: 12.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00638/1.216, allocations: 1.162 MB / 0.7598 GB, free: 11.24 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.0006368/1.217, allocations: 198.6 kB / 0.76 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.227, allocations: 6.146 MB / 0.766 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.227, allocations: 0 / 0.766 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.231, allocations: 2.275 MB / 0.7682 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.235, allocations: 482.6 kB / 0.7687 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.258, allocations: 12.9 MB / 0.7813 GB, free: 5.301 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006353/1.264, allocations: 3.773 MB / 0.7849 GB, free: 1.516 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006763/1.271, allocations: 2.217 MB / 0.7871 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.272, allocations: 299.4 kB / 0.7874 GB, free: 15.02 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/1.272, allocations: 0 / 0.7874 GB, free: 15.02 MB / 458.7 MB Notification: Performance of Templates: time 0.2772/1.549, allocations: 41.94 MB / 0.8283 GB, free: 134.2 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches