Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 196.4 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.26/1.26, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000916/0.000916, allocations: 90.56 kB / 292.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.608e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09748, allocations: 63.24 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4773, allocations: 108.3 MB / 0.6171 GB, free: 1.918 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4776, allocations: 78.64 kB / 0.6172 GB, free: 1.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2879/0.7656, allocations: 122.4 MB / 0.7367 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7656, allocations: 0 / 0.7367 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002875/0.7659, allocations: 116 kB / 0.7368 GB, free: 15.23 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02034/0.7862, allocations: 5.956 MB / 0.7426 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7863, allocations: 15.91 kB / 0.7427 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0264/0.8127, allocations: 6.973 MB / 0.7495 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3033/1.116, allocations: 6.005 MB / 0.7553 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/1.116, allocations: 453.4 kB / 0.7558 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/1.119, allocations: 0.5943 MB / 0.7563 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/1.153, allocations: 14.93 MB / 0.7709 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/1.153, allocations: 76.31 kB / 0.771 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/1.154, allocations: 288.2 kB / 0.7713 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/1.156, allocations: 1.373 MB / 0.7726 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/1.179, allocations: 12.5 MB / 0.7848 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05872/1.238, allocations: 60.83 MB / 0.8442 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.251, allocations: 6.1 MB / 0.8502 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.255, allocations: 3.574 MB / 0.8537 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.272, allocations: 12.84 MB / 0.8662 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/1.272, allocations: 51.44 kB / 0.8663 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 5.29e-06/1.272, allocations: 0 / 0.8663 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.05286/1.325, allocations: 23.11 MB / 0.8888 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/1.325, allocations: 209.9 kB / 0.889 GB, free: 44.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/1.331, allocations: 4.402 MB / 0.8933 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006154/1.332, allocations: 65.7 kB / 0.8934 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/1.334, allocations: 4.043 MB / 0.8973 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000989/1.335, allocations: 1.004 MB / 0.8983 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/1.335, allocations: 144 kB / 0.8985 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002778/1.335, allocations: 0.6121 MB / 0.8991 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.339, allocations: 2.954 MB / 0.9019 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.344, allocations: 7.07 MB / 0.9088 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004978/1.349, allocations: 4.52 MB / 0.9133 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/1.349, allocations: 40 kB / 0.9133 GB, free: 20.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.01563/1.364, allocations: 11.32 MB / 0.9244 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/1.364, allocations: 68 kB / 0.9244 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.481e-05/1.364, allocations: 148.1 kB / 0.9246 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/1.368, allocations: 1.647 MB / 0.9262 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.373, allocations: 1.66 MB / 0.9278 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.386, allocations: 11.41 MB / 0.9389 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006194/1.392, allocations: 434.5 kB / 0.9393 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009577/1.393, allocations: 431.1 kB / 0.9398 GB, free: 12.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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.00118/1.394, allocations: 0.6647 MB / 0.9404 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000844/1.395, allocations: 466 kB / 0.9408 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.405, allocations: 6.021 MB / 0.9467 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/1.405, allocations: 31.98 kB / 0.9468 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.405, allocations: 8 kB / 0.9468 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/1.405, allocations: 15.95 kB / 0.9468 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3389/1.744, allocations: 13.45 MB / 0.9599 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.744, allocations: 3.156 kB / 0.9599 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.746, allocations: 448 kB / 0.9603 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.75, allocations: 1.408 MB / 0.9617 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003298/1.75, allocations: 47.5 kB / 0.9618 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.765, allocations: 10.58 MB / 0.9721 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.765, allocations: 3.406 kB / 0.9721 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.779, allocations: 9.792 MB / 0.9817 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.781, allocations: 0.4993 MB / 0.9822 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/1.781, allocations: 46.31 kB / 0.9822 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.783, allocations: 211.2 kB / 0.9824 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/1.784, allocations: 153.6 kB / 0.9825 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.784, allocations: 74.56 kB / 0.9826 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004924/1.789, allocations: 3.083 MB / 0.9856 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.2e-07/1.789, allocations: 0 / 0.9856 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00637/1.796, allocations: 1.412 MB / 0.987 GB, free: 110.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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.0005508/1.796, allocations: 196.9 kB / 0.9872 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009646/1.806, allocations: 7.428 MB / 0.9944 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.806, allocations: 0 / 0.9944 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004389/1.81, allocations: 3.122 MB / 0.9975 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.813, allocations: 0.6002 MB / 0.9981 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.831, allocations: 11.37 MB / 1.009 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.835, allocations: 4.489 MB / 1.014 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00547/1.841, allocations: 2.335 MB / 1.016 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.842, allocations: 324.8 kB / 1.016 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/1.842, allocations: 0 / 1.016 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.08913/1.931, allocations: 54.08 MB / 1.069 GB, free: 82.21 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches