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.001024/0.001024, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.298/1.298, allocations: 205.4 MB / 224.2 MB, free: 9.039 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.0008523/0.0008522, allocations: 87.62 kB / 272.5 MB, free: 8.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 12 kB / 329.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1966, allocations: 47.57 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3044, allocations: 100.5 MB / 477.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.3047, allocations: 91.95 kB / 477.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3684/0.6732, allocations: 96.4 MB / 0.5605 GB, free: 57.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6732, allocations: 0 / 0.5605 GB, free: 57.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002119/0.6734, allocations: 92 kB / 0.5606 GB, free: 57.21 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.01119/0.6846, allocations: 4.781 MB / 0.5653 GB, free: 52.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6847, allocations: 12.03 kB / 0.5653 GB, free: 52.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/0.6988, allocations: 3.675 MB / 0.5689 GB, free: 48.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007818/0.7067, allocations: 4.02 MB / 0.5728 GB, free: 44.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.707, allocations: 365.8 kB / 0.5732 GB, free: 44.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.7087, allocations: 484.1 kB / 0.5736 GB, free: 43.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.7318, allocations: 11.95 MB / 0.5853 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002573/0.7321, allocations: 59.66 kB / 0.5853 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/0.7337, allocations: 231.8 kB / 0.5856 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/0.7352, allocations: 1.203 MB / 0.5867 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.7525, allocations: 9.841 MB / 0.5963 GB, free: 19.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/0.973, allocations: 52.89 MB / 0.648 GB, free: 79.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.9837, allocations: 5.165 MB / 0.653 GB, free: 79.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.9866, allocations: 2.637 MB / 0.6556 GB, free: 79.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.9971, allocations: 7.997 MB / 0.6634 GB, free: 77.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.9972, allocations: 58.47 kB / 0.6635 GB, free: 77.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 4.708e-06/0.9972, allocations: 3.188 kB / 0.6635 GB, free: 77.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.03955/1.037, allocations: 18.92 MB / 0.682 GB, free: 74.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.037, allocations: 183.5 kB / 0.6821 GB, free: 74.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/1.042, allocations: 4.731 MB / 0.6868 GB, free: 73.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/1.042, allocations: 62.95 kB / 0.6868 GB, free: 73.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.044, allocations: 3.431 MB / 0.6902 GB, free: 70.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/1.045, allocations: 0.8879 MB / 0.691 GB, free: 70.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.045, allocations: 140 kB / 0.6912 GB, free: 70.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/1.045, allocations: 0.5822 MB / 0.6917 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.048, allocations: 2.506 MB / 0.6942 GB, free: 68.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/1.053, allocations: 6.429 MB / 0.7005 GB, free: 62.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008528/1.062, allocations: 9.726 MB / 0.71 GB, free: 55.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.803e-05/1.062, allocations: 41.31 kB / 0.71 GB, free: 55.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01406/1.076, allocations: 9.507 MB / 0.7193 GB, free: 51.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/1.076, allocations: 64 kB / 0.7193 GB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.076, allocations: 136 kB / 0.7195 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.078, allocations: 0.9079 MB / 0.7204 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/1.083, allocations: 1.595 MB / 0.7219 GB, free: 49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/1.089, allocations: 5.802 MB / 0.7276 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/1.094, allocations: 373.9 kB / 0.7279 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.095, allocations: 398.6 kB / 0.7283 GB, free: 43.12 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.004428/1.1, allocations: 2.382 MB / 0.7306 GB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008485/1.101, allocations: 418.6 kB / 0.731 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006572/1.107, allocations: 4.298 MB / 0.7352 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.107, allocations: 24.8 kB / 0.7353 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.107, allocations: 8 kB / 0.7353 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.107, allocations: 9.562 kB / 0.7353 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.125, allocations: 10.41 MB / 0.7454 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.125, allocations: 4 kB / 0.7455 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.127, allocations: 475.3 kB / 0.7459 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/1.129, allocations: 0.7225 MB / 0.7466 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/1.129, allocations: 40.62 kB / 0.7466 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/1.135, allocations: 5.338 MB / 0.7519 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.135, allocations: 11.94 kB / 0.7519 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008692/1.143, allocations: 7.532 MB / 0.7592 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.145, allocations: 0.8187 MB / 0.76 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/1.145, allocations: 43.89 kB / 0.7601 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.147, allocations: 140.8 kB / 0.7602 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/1.147, allocations: 150.2 kB / 0.7603 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.148, allocations: 67.52 kB / 0.7604 GB, free: 15.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003983/1.152, allocations: 3.029 MB / 0.7634 GB, free: 12.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.152, allocations: 0 / 0.7634 GB, free: 12.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004944/1.157, allocations: 1.15 MB / 0.7645 GB, free: 11.34 MB / 410.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.0004356/1.157, allocations: 194.5 kB / 0.7647 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008063/1.165, allocations: 6.149 MB / 0.7707 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.165, allocations: 4 kB / 0.7707 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00307/1.168, allocations: 2.27 MB / 0.7729 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/1.174, allocations: 0.5049 MB / 0.7734 GB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.194, allocations: 12.95 MB / 0.786 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004715/1.198, allocations: 3.677 MB / 0.7896 GB, free: 1.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005686/1.204, allocations: 2.222 MB / 0.7918 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/1.205, allocations: 295.4 kB / 0.7921 GB, free: 15.02 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/1.205, allocations: 0 / 0.7921 GB, free: 15.02 MB / 442.7 MB Notification: Performance of Templates: time 0.2241/1.429, allocations: 42.05 MB / 0.8332 GB, free: 104 MB / 442.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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches