Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 241.4 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008599/0.0008603, allocations: 98.39 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 352.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2559, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.3851, allocations: 100.7 MB / 0.4916 GB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.3854, allocations: 95.94 kB / 0.4917 GB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4046/0.7901, allocations: 91.29 MB / 0.5809 GB, free: 32.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7901, allocations: 0 / 0.5809 GB, free: 32.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002609/0.7904, allocations: 84 kB / 0.581 GB, free: 32.69 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01313/0.8035, allocations: 4.524 MB / 0.5854 GB, free: 28.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8036, allocations: 12.03 kB / 0.5854 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.8176, allocations: 3.606 MB / 0.5889 GB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009128/0.8268, allocations: 3.719 MB / 0.5925 GB, free: 20.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.8272, allocations: 341.1 kB / 0.5929 GB, free: 20.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.8296, allocations: 448.1 kB / 0.5933 GB, free: 19.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0241/0.8537, allocations: 11.18 MB / 0.6042 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/0.8541, allocations: 63.58 kB / 0.6043 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/0.8559, allocations: 223.8 kB / 0.6045 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001517/0.8575, allocations: 1.101 MB / 0.6056 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.8752, allocations: 9.116 MB / 0.6145 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2943/1.17, allocations: 50.29 MB / 0.6636 GB, free: 56.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.18, allocations: 4.704 MB / 0.6682 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/1.183, allocations: 2.324 MB / 0.6704 GB, free: 55.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.194, allocations: 7.225 MB / 0.6775 GB, free: 54.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.194, allocations: 58.44 kB / 0.6776 GB, free: 54.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=177): time 4.569e-06/1.194, allocations: 0 / 0.6776 GB, free: 54.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=198): time 0.04649/1.24, allocations: 17.32 MB / 0.6945 GB, free: 51.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/1.24, allocations: 179.1 kB / 0.6946 GB, free: 50.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008273/1.249, allocations: 4.575 MB / 0.6991 GB, free: 50.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004889/1.249, allocations: 47.92 kB / 0.6992 GB, free: 50.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/1.251, allocations: 3.252 MB / 0.7023 GB, free: 48.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009494/1.252, allocations: 0.7551 MB / 0.7031 GB, free: 48.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.252, allocations: 121 kB / 0.7032 GB, free: 48.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003115/1.253, allocations: 0.5648 MB / 0.7037 GB, free: 48.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/1.256, allocations: 2.21 MB / 0.7059 GB, free: 48.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/1.26, allocations: 5.954 MB / 0.7117 GB, free: 42.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007412/1.267, allocations: 8.903 MB / 0.7204 GB, free: 35.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-05/1.267, allocations: 42.66 kB / 0.7204 GB, free: 35.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.01427/1.282, allocations: 8.697 MB / 0.7289 GB, free: 32.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/1.282, allocations: 64.52 kB / 0.729 GB, free: 32.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.282, allocations: 132.7 kB / 0.7291 GB, free: 32.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/1.284, allocations: 0.8923 MB / 0.73 GB, free: 32.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004874/1.289, allocations: 1.471 MB / 0.7314 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/1.295, allocations: 5.776 MB / 0.7371 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.3, allocations: 347.7 kB / 0.7374 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.301, allocations: 377.6 kB / 0.7378 GB, free: 26.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 49 (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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[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 (756): * Single equations (assignments): 752 * 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.004514/1.306, allocations: 2.243 MB / 0.74 GB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.307, allocations: 394.8 kB / 0.7403 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/1.312, allocations: 3.578 MB / 0.7438 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.312, allocations: 27.94 kB / 0.7438 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.312, allocations: 9.562 kB / 0.7439 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.312, allocations: 11.62 kB / 0.7439 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.327, allocations: 9.12 MB / 0.7528 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.327, allocations: 7.422 kB / 0.7528 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.329, allocations: 396 kB / 0.7532 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/1.33, allocations: 0.7137 MB / 0.7539 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.33, allocations: 39.23 kB / 0.7539 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/1.336, allocations: 5.326 MB / 0.7591 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.336, allocations: 4 kB / 0.7591 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007419/1.343, allocations: 6.426 MB / 0.7654 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.344, allocations: 468.4 kB / 0.7658 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/1.345, allocations: 43.05 kB / 0.7659 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.346, allocations: 120.1 kB / 0.766 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/1.346, allocations: 128 kB / 0.7661 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.347, allocations: 56 kB / 0.7662 GB, free: 1.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005848/1.352, allocations: 2.974 MB / 0.7691 GB, free: 15.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.353, allocations: 0 / 0.7691 GB, free: 15.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007219/1.36, allocations: 1.059 MB / 0.7701 GB, free: 14.36 MB / 442.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 (157): * Single equations (assignments): 153 * 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.0005829/1.36, allocations: 186.7 kB / 0.7703 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009378/1.37, allocations: 5.409 MB / 0.7756 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.37, allocations: 0 / 0.7756 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/1.373, allocations: 1.921 MB / 0.7774 GB, free: 7.738 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/1.379, allocations: 494.2 kB / 0.7779 GB, free: 7.316 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.401, allocations: 11.97 MB / 0.7896 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/1.406, allocations: 3.463 MB / 0.793 GB, free: 8.789 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005665/1.412, allocations: 2.049 MB / 0.795 GB, free: 6.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009501/1.413, allocations: 263.4 kB / 0.7952 GB, free: 6.492 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/1.413, allocations: 0 / 0.7952 GB, free: 6.492 MB / 458.7 MB Notification: Performance of Templates: time 0.07491/1.488, allocations: 39.05 MB / 0.8334 GB, free: 240 kB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches