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.001352/0.001352, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008743/0.0008742, allocations: 91.95 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.633e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08563, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4279, allocations: 99.75 MB / 462.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4282, allocations: 85.77 kB / 462.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4308/0.8589, allocations: 95.53 MB / 0.5454 GB, free: 90.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.859, allocations: 0 / 0.5454 GB, free: 90.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003483/0.8593, allocations: 89.33 kB / 0.5454 GB, free: 90.5 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.01584/0.8752, allocations: 4.674 MB / 0.55 GB, free: 88.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.8753, allocations: 9.75 kB / 0.55 GB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.8937, allocations: 4.506 MB / 0.5544 GB, free: 88.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.907, allocations: 5.055 MB / 0.5594 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.9074, allocations: 155.9 kB / 0.5595 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/0.9098, allocations: 279 kB / 0.5598 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/0.9224, allocations: 6.982 MB / 0.5666 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.9429, allocations: 10.59 MB / 0.5769 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.9431, allocations: 62.03 kB / 0.577 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.9446, allocations: 29.78 kB / 0.577 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001424/0.9461, allocations: 1.204 MB / 0.5782 GB, free: 84.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04797/0.994, allocations: 50.62 MB / 0.6276 GB, free: 47.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.9978, allocations: 4.051 MB / 0.6316 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.9999, allocations: 2.395 MB / 0.6339 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/1.001, allocations: 0.6896 MB / 0.6346 GB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.001, allocations: 63.81 kB / 0.6347 GB, free: 40.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 4.789e-06/1.001, allocations: 3.375 kB / 0.6347 GB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=229): time 0.02836/1.029, allocations: 17.08 MB / 0.6513 GB, free: 25.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.029, allocations: 188.1 kB / 0.6515 GB, free: 25.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/1.033, allocations: 3.386 MB / 0.6548 GB, free: 22.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/1.033, allocations: 25.7 kB / 0.6548 GB, free: 22.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.034, allocations: 3.537 MB / 0.6583 GB, free: 19.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/1.035, allocations: 0.8468 MB / 0.6591 GB, free: 18.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.035, allocations: 0 / 0.6591 GB, free: 18.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002553/1.035, allocations: 0.5994 MB / 0.6597 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/1.038, allocations: 2.394 MB / 0.662 GB, free: 15.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/1.042, allocations: 6.43 MB / 0.6683 GB, free: 7.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/1.045, allocations: 3.904 MB / 0.6721 GB, free: 4.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.623e-05/1.045, allocations: 43.95 kB / 0.6722 GB, free: 4.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01238/1.058, allocations: 8.708 MB / 0.6807 GB, free: 11.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/1.058, allocations: 64 kB / 0.6807 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/1.058, allocations: 144 kB / 0.6809 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.06, allocations: 0.9261 MB / 0.6818 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/1.066, allocations: 1.676 MB / 0.6834 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/1.073, allocations: 5.49 MB / 0.6888 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/1.078, allocations: 263.3 kB / 0.689 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/1.079, allocations: 427.9 kB / 0.6894 GB, free: 2.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 (856): * Single equations (assignments): 852 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00102/1.08, allocations: 470.5 kB / 0.6899 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/1.08, allocations: 367.3 kB / 0.6902 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2184/1.299, allocations: 3.945 MB / 0.6941 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-05/1.299, allocations: 24.72 kB / 0.6941 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.299, allocations: 5.062 kB / 0.6941 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/1.299, allocations: 11 kB / 0.6941 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.316, allocations: 9.081 MB / 0.703 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.317, allocations: 4.406 kB / 0.703 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/1.319, allocations: 433.9 kB / 0.7034 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/1.321, allocations: 0.7142 MB / 0.7041 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/1.321, allocations: 14.03 kB / 0.7041 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/1.327, allocations: 4.983 MB / 0.709 GB, free: 92.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.327, allocations: 0.8438 kB / 0.709 GB, free: 92.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00902/1.336, allocations: 7.326 MB / 0.7162 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.338, allocations: 0.7327 MB / 0.7169 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/1.338, allocations: 6.406 kB / 0.7169 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.34, allocations: 112.3 kB / 0.717 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.34, allocations: 133.8 kB / 0.7171 GB, free: 91.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.34, allocations: 60.61 kB / 0.7172 GB, free: 91.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003387/1.343, allocations: 2.264 MB / 0.7194 GB, free: 91.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.343, allocations: 0 / 0.7194 GB, free: 91.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005795/1.349, allocations: 0.9931 MB / 0.7203 GB, free: 91.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (190): * Single equations (assignments): 186 * 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.0004851/1.35, allocations: 154.3 kB / 0.7205 GB, free: 91.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008672/1.358, allocations: 5.918 MB / 0.7263 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.359, allocations: 3.469 kB / 0.7263 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/1.361, allocations: 2.145 MB / 0.7284 GB, free: 89.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.364, allocations: 353.9 kB / 0.7287 GB, free: 88.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.379, allocations: 8.963 MB / 0.7375 GB, free: 85.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/1.382, allocations: 3.768 MB / 0.7411 GB, free: 84.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005073/1.387, allocations: 2.271 MB / 0.7434 GB, free: 84.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/1.388, allocations: 261.5 kB / 0.7436 GB, free: 84.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/1.388, allocations: 0 / 0.7436 GB, free: 84.3 MB / 426.7 MB Notification: Performance of Templates: time 0.06069/1.449, allocations: 34.57 MB / 0.7774 GB, free: 67.66 MB / 426.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