Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000858/0.0008579, allocations: 94.27 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.403e-05, allocations: 0 / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 63.25 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.5986, allocations: 111.7 MB / 0.6205 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/0.5991, allocations: 74.03 kB / 0.6205 GB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7308/1.33, allocations: 140.5 MB / 0.7577 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/1.33, allocations: 0 / 0.7577 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004715/1.33, allocations: 144.2 kB / 0.7579 GB, free: 103.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02731/1.358, allocations: 6.968 MB / 0.7647 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.358, allocations: 13.69 kB / 0.7647 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/1.388, allocations: 7.204 MB / 0.7717 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.407, allocations: 6.649 MB / 0.7782 GB, free: 99.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/1.407, allocations: 0.5287 MB / 0.7787 GB, free: 99.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.411, allocations: 0.7098 MB / 0.7794 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/1.451, allocations: 17.35 MB / 0.7964 GB, free: 95.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000414/1.452, allocations: 95.28 kB / 0.7965 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/1.454, allocations: 340.5 kB / 0.7968 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/1.456, allocations: 1.629 MB / 0.7984 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02849/1.484, allocations: 13.96 MB / 0.812 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07868/1.563, allocations: 76.54 MB / 0.8868 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/1.583, allocations: 7.88 MB / 0.8945 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/1.588, allocations: 4.05 MB / 0.8984 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/1.607, allocations: 10.1 MB / 0.9083 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.939e-05/1.607, allocations: 76.45 kB / 0.9084 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 7.063e-06/1.607, allocations: 0 / 0.9084 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.07779/1.685, allocations: 28.62 MB / 0.9363 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/1.685, allocations: 243.8 kB / 0.9365 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/1.698, allocations: 6.234 MB / 0.9426 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001518/1.7, allocations: 73.7 kB / 0.9427 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005387/1.705, allocations: 4.895 MB / 0.9475 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.707, allocations: 1.207 MB / 0.9487 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/1.708, allocations: 179.7 kB / 0.9488 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000554/1.708, allocations: 0.6843 MB / 0.9495 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/1.714, allocations: 3.434 MB / 0.9528 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3606/2.075, allocations: 8.661 MB / 0.9613 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/2.086, allocations: 5.413 MB / 0.9666 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003177/2.087, allocations: 53.22 kB / 0.9666 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.03109/2.118, allocations: 13.39 MB / 0.9797 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/2.118, allocations: 81 kB / 0.9798 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/2.118, allocations: 185.8 kB / 0.98 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/2.122, allocations: 1.704 MB / 0.9816 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/2.13, allocations: 2.157 MB / 0.9837 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/2.143, allocations: 11.37 MB / 0.9949 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009038/2.152, allocations: 0.5033 MB / 0.9953 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/2.154, allocations: 0.5234 MB / 0.9959 GB, free: 102 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 77 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1096): * Single equations (assignments): 1091 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003887/2.158, allocations: 0.8102 MB / 0.9966 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/2.16, allocations: 0.6065 MB / 0.9972 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/2.173, allocations: 6.672 MB / 1.004 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.456e-05/2.173, allocations: 36.47 kB / 1.004 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.942e-05/2.173, allocations: 6.969 kB / 1.004 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/2.174, allocations: 13.59 kB / 1.004 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/2.204, allocations: 15.73 MB / 1.019 GB, free: 97.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/2.204, allocations: 7.438 kB / 1.019 GB, free: 97.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/2.207, allocations: 0.6252 MB / 1.02 GB, free: 97.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/2.21, allocations: 1.419 MB / 1.021 GB, free: 97.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000381/2.211, allocations: 57.25 kB / 1.021 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/2.223, allocations: 10.61 MB / 1.032 GB, free: 91.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/2.223, allocations: 11.84 kB / 1.032 GB, free: 91.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/2.24, allocations: 12.05 MB / 1.043 GB, free: 86.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/2.242, allocations: 0.6775 MB / 1.044 GB, free: 85.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.244, allocations: 52.56 kB / 1.044 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/2.247, allocations: 209.5 kB / 1.044 GB, free: 85.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/2.247, allocations: 201.3 kB / 1.044 GB, free: 85.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/2.248, allocations: 86.83 kB / 1.045 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006947/2.254, allocations: 4.455 MB / 1.049 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.11e-07/2.255, allocations: 0 / 1.049 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008785/2.263, allocations: 1.675 MB / 1.051 GB, free: 83.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006481/2.264, allocations: 220.7 kB / 1.051 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0116/2.276, allocations: 8.586 MB / 1.059 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/2.276, allocations: 8 kB / 1.059 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/2.28, allocations: 3.369 MB / 1.062 GB, free: 75.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/2.285, allocations: 0.758 MB / 1.063 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/2.313, allocations: 13.52 MB / 1.076 GB, free: 62.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/2.319, allocations: 5.197 MB / 1.081 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007164/2.326, allocations: 2.993 MB / 1.084 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/2.327, allocations: 412.4 kB / 1.085 GB, free: 56.75 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/2.327, allocations: 0 / 1.085 GB, free: 56.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.1052/2.433, allocations: 64.87 MB / 1.148 GB, free: 1.266 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches