Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.001361, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009352, allocations: 100.5 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.432e-05, allocations: 7.938 kB / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5677, allocations: 107.1 MB / 0.6089 GB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.568, allocations: 77.83 kB / 0.609 GB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6852/1.253, allocations: 158 MB / 0.7633 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.136e-06/1.253, allocations: 1.531 kB / 0.7633 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005802/1.254, allocations: 155.2 kB / 0.7634 GB, free: 101.8 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.03017/1.284, allocations: 7.694 MB / 0.771 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.284, allocations: 9.625 kB / 0.771 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04557/1.33, allocations: 11.93 MB / 0.7826 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/1.353, allocations: 9.062 MB / 0.7915 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/1.353, allocations: 249.6 kB / 0.7917 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003596/1.357, allocations: 466.6 kB / 0.7921 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0184/1.375, allocations: 10.11 MB / 0.802 GB, free: 97.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03049/1.406, allocations: 15.43 MB / 0.8171 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004245/1.406, allocations: 103.8 kB / 0.8172 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/1.408, allocations: 46.14 kB / 0.8172 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.41, allocations: 1.569 MB / 0.8188 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07274/1.482, allocations: 72.64 MB / 0.8897 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/1.488, allocations: 5.172 MB / 0.8947 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003358/1.491, allocations: 3.473 MB / 0.8981 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/1.492, allocations: 0.6578 MB / 0.8988 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.492, allocations: 59.95 kB / 0.8988 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 7.163e-06/1.492, allocations: 0 / 0.8988 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.05056/1.543, allocations: 28.88 MB / 0.927 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.543, allocations: 286.5 kB / 0.9273 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007866/1.551, allocations: 5.126 MB / 0.9323 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006801/1.551, allocations: 25.7 kB / 0.9323 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003463/1.555, allocations: 5.393 MB / 0.9376 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/1.556, allocations: 0.9905 MB / 0.9386 GB, free: 0 / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/1.557, allocations: 0.75 kB / 0.9386 GB, free: 0 / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005221/1.557, allocations: 0.679 MB / 0.9392 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004408/1.562, allocations: 2.72 MB / 0.9419 GB, free: 13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009424/1.571, allocations: 8.049 MB / 0.9498 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.31/1.881, allocations: 4.622 MB / 0.9543 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002636/1.882, allocations: 54.55 kB / 0.9543 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1141) (initialization): time 0.02299/1.905, allocations: 10.36 MB / 0.9644 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003862/1.905, allocations: 91.03 kB / 0.9645 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005186/1.906, allocations: 190.3 kB / 0.9647 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003302/1.909, allocations: 0.9811 MB / 0.9657 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00718/1.916, allocations: 1.976 MB / 0.9676 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.927, allocations: 10.59 MB / 0.9779 GB, free: 98.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007583/1.934, allocations: 292.9 kB / 0.9782 GB, free: 98.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.936, allocations: 0.5269 MB / 0.9787 GB, free: 98.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1065): * Single equations (assignments): 1058 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002672/1.939, allocations: 0.5897 MB / 0.9793 GB, free: 97.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/1.941, allocations: 0.5446 MB / 0.9798 GB, free: 97.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/1.949, allocations: 4.325 MB / 0.9841 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/1.949, allocations: 30.61 kB / 0.9841 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/1.949, allocations: 10.66 kB / 0.9841 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/1.949, allocations: 10.31 kB / 0.9841 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.973, allocations: 10.98 MB / 0.9948 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/1.973, allocations: 7.641 kB / 0.9948 GB, free: 97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.975, allocations: 387.3 kB / 0.9952 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.977, allocations: 0.6538 MB / 0.9959 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/1.977, allocations: 6.781 kB / 0.9959 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008462/1.985, allocations: 9.463 MB / 1.005 GB, free: 91.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.985, allocations: 2.688 kB / 1.005 GB, free: 91.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.996, allocations: 7.629 MB / 1.013 GB, free: 91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.998, allocations: 0.5616 MB / 1.013 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/2, allocations: 3.719 kB / 1.013 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/2.003, allocations: 105.5 kB / 1.013 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/2.003, allocations: 154.2 kB / 1.013 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/2.003, allocations: 66.08 kB / 1.013 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007185/2.011, allocations: 3.487 MB / 1.017 GB, free: 90.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.21e-07/2.011, allocations: 0 / 1.017 GB, free: 90.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01054/2.021, allocations: 1.429 MB / 1.018 GB, free: 90.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00073/2.022, allocations: 158.2 kB / 1.018 GB, free: 90.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01026/2.032, allocations: 7.013 MB / 1.025 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/2.032, allocations: 6.438 kB / 1.025 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/2.035, allocations: 2.481 MB / 1.028 GB, free: 86.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/2.04, allocations: 0.7645 MB / 1.028 GB, free: 86.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/2.067, allocations: 12.92 MB / 1.041 GB, free: 82.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007058/2.074, allocations: 5.55 MB / 1.046 GB, free: 80.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007439/2.082, allocations: 2.728 MB / 1.049 GB, free: 80.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/2.083, allocations: 371.9 kB / 1.049 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/2.083, allocations: 0 / 1.049 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of Templates: time 0.09246/2.175, allocations: 51.83 MB / 1.1 GB, free: 47.19 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches