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.001087/0.001087, allocations: 198 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000831/0.0008309, allocations: 96.94 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3755/0.3755, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 12 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3974, allocations: 62.96 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.6108, allocations: 108.4 MB / 0.6242 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.6112, allocations: 83.94 kB / 0.6243 GB, free: 12.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6315/1.243, allocations: 119.5 MB / 0.7411 GB, free: 93.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.243, allocations: 3.969 kB / 0.7411 GB, free: 93.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003436/1.243, allocations: 120.4 kB / 0.7412 GB, free: 93.84 MB / 490.7 MB 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.02355/1.267, allocations: 6.109 MB / 0.7471 GB, free: 90.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.267, allocations: 10.75 kB / 0.7471 GB, free: 90.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/1.288, allocations: 5.32 MB / 0.7523 GB, free: 87.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/1.301, allocations: 5.346 MB / 0.7576 GB, free: 84.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/1.302, allocations: 450.5 kB / 0.758 GB, free: 84.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.304, allocations: 0.5899 MB / 0.7586 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/1.341, allocations: 14.89 MB / 0.7731 GB, free: 70.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006008/1.342, allocations: 79.48 kB / 0.7732 GB, free: 70.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003295/1.345, allocations: 283.8 kB / 0.7735 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/1.347, allocations: 1.369 MB / 0.7748 GB, free: 68.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/1.371, allocations: 12.49 MB / 0.787 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06651/1.437, allocations: 60.77 MB / 0.8463 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.453, allocations: 5.996 MB / 0.8522 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/1.457, allocations: 3.597 MB / 0.8557 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/1.48, allocations: 12.75 MB / 0.8682 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.301e-05/1.48, allocations: 68.5 kB / 0.8682 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 7.013e-06/1.48, allocations: 0 / 0.8682 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.3922/1.872, allocations: 26.42 MB / 0.894 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.872, allocations: 212.5 kB / 0.8942 GB, free: 129 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009041/1.881, allocations: 4.992 MB / 0.8991 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007074/1.882, allocations: 67.36 kB / 0.8992 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003101/1.885, allocations: 4.042 MB / 0.9031 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.886, allocations: 1.005 MB / 0.9041 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/1.887, allocations: 147.3 kB / 0.9042 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004521/1.888, allocations: 0.6069 MB / 0.9048 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005233/1.893, allocations: 3.008 MB / 0.9078 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009175/1.902, allocations: 7.147 MB / 0.9147 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.917, allocations: 11.02 MB / 0.9255 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003036/1.918, allocations: 41.47 kB / 0.9255 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02529/1.943, allocations: 11.44 MB / 0.9367 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.943, allocations: 66.95 kB / 0.9368 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/1.943, allocations: 145.3 kB / 0.9369 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/1.947, allocations: 1.634 MB / 0.9385 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005945/1.953, allocations: 1.666 MB / 0.9401 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.966, allocations: 11.35 MB / 0.9512 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/1.974, allocations: 439.1 kB / 0.9516 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/1.976, allocations: 431 kB / 0.9521 GB, free: 102.7 MB / 0.5261 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 () * Number of clocked 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.006878/1.983, allocations: 2.801 MB / 0.9548 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.984, allocations: 464.6 kB / 0.9552 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009335/1.994, allocations: 6.07 MB / 0.9612 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-05/1.994, allocations: 30.25 kB / 0.9612 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.994, allocations: 7.031 kB / 0.9612 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/1.994, allocations: 15.09 kB / 0.9612 GB, free: 98.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/2.017, allocations: 13.5 MB / 0.9744 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/2.018, allocations: 0 / 0.9744 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/2.02, allocations: 451.2 kB / 0.9748 GB, free: 94.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/2.023, allocations: 1.414 MB / 0.9762 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/2.023, allocations: 47.05 kB / 0.9763 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/2.034, allocations: 10.62 MB / 0.9866 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.034, allocations: 0 / 0.9866 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/2.047, allocations: 9.779 MB / 0.9962 GB, free: 76.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/2.049, allocations: 0.501 MB / 0.9967 GB, free: 75.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/2.05, allocations: 46.95 kB / 0.9967 GB, free: 75.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/2.052, allocations: 208.9 kB / 0.9969 GB, free: 75.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/2.052, allocations: 158.1 kB / 0.9971 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/2.052, allocations: 66.53 kB / 0.9971 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00457/2.057, allocations: 3.122 MB / 1 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/2.057, allocations: 0 / 1 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007249/2.064, allocations: 1.415 MB / 1.002 GB, free: 71.7 MB / 0.5261 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 () * Number of clocked 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.000518/2.065, allocations: 195.7 kB / 1.002 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009894/2.075, allocations: 7.521 MB / 1.009 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/2.075, allocations: 4 kB / 1.009 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00444/2.079, allocations: 3.154 MB / 1.012 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/2.084, allocations: 0.6427 MB / 1.013 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/2.113, allocations: 15.98 MB / 1.028 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/2.125, allocations: 4.371 MB / 1.033 GB, free: 42.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01048/2.135, allocations: 2.334 MB / 1.035 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/2.138, allocations: 315.4 kB / 1.035 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/2.138, allocations: 0 / 1.035 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.3693/2.507, allocations: 54.26 MB / 1.088 GB, free: 135.8 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/jenkins1/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