Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 104.5 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2949/0.2949, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002708, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3305, allocations: 63.24 MB / 0.5192 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4551, allocations: 108.9 MB / 0.6256 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4553, allocations: 84.64 kB / 0.6257 GB, free: 12.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5167/0.972, allocations: 124.2 MB / 0.7469 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/0.972, allocations: 0 / 0.7469 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005536/0.9726, allocations: 119.1 kB / 0.7471 GB, free: 96.16 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02259/0.9952, allocations: 6.466 MB / 0.7534 GB, free: 93.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9953, allocations: 7.438 kB / 0.7534 GB, free: 93.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02526/1.021, allocations: 6.998 MB / 0.7602 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/1.037, allocations: 6.052 MB / 0.7661 GB, free: 90.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/1.037, allocations: 463.9 kB / 0.7666 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/1.04, allocations: 0.5995 MB / 0.7672 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03065/1.071, allocations: 15.21 MB / 0.782 GB, free: 82.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003367/1.071, allocations: 80 kB / 0.7821 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/1.073, allocations: 297.5 kB / 0.7824 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/1.075, allocations: 1.356 MB / 0.7837 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.096, allocations: 12.55 MB / 0.7959 GB, free: 76.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/1.16, allocations: 64.82 MB / 0.8592 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/1.176, allocations: 7.106 MB / 0.8662 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/1.176, allocations: 40.25 kB / 0.8662 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.176, allocations: 55.88 kB / 0.8663 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 5.099e-06/1.176, allocations: 11.98 kB / 0.8663 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.07602/1.252, allocations: 29.55 MB / 0.8951 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.252, allocations: 209.9 kB / 0.8953 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2366/1.489, allocations: 5.378 MB / 0.9006 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00063/1.489, allocations: 63.11 kB / 0.9007 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.493, allocations: 4.215 MB / 0.9048 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.494, allocations: 0.9813 MB / 0.9057 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/1.495, allocations: 157.5 kB / 0.9059 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007518/1.496, allocations: 0.6262 MB / 0.9065 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/1.501, allocations: 3.186 MB / 0.9096 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/1.508, allocations: 7.645 MB / 0.9171 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/1.514, allocations: 4.834 MB / 0.9218 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/1.514, allocations: 45.41 kB / 0.9218 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.01997/1.534, allocations: 12.12 MB / 0.9337 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/1.534, allocations: 72.72 kB / 0.9337 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003757/1.534, allocations: 162.9 kB / 0.9339 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003979/1.538, allocations: 1.66 MB / 0.9355 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.545, allocations: 1.83 MB / 0.9373 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/1.559, allocations: 11.68 MB / 0.9487 GB, free: 98.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.565, allocations: 465.6 kB / 0.9492 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.566, allocations: 469.8 kB / 0.9496 GB, free: 98.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 913 * 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.004481/1.57, allocations: 2.875 MB / 0.9524 GB, free: 97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008001/1.571, allocations: 0.5079 MB / 0.9529 GB, free: 96.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009005/1.58, allocations: 6.203 MB / 0.959 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.58, allocations: 27.97 kB / 0.959 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.58, allocations: 13.5 kB / 0.959 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.58, allocations: 11.3 kB / 0.959 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.601, allocations: 13.74 MB / 0.9724 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.601, allocations: 0.5 kB / 0.9724 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.603, allocations: 499.9 kB / 0.9729 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/1.606, allocations: 1.413 MB / 0.9743 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/1.606, allocations: 51.14 kB / 0.9743 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.617, allocations: 10.9 MB / 0.985 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.617, allocations: 0 / 0.985 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.629, allocations: 10.22 MB / 0.995 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.631, allocations: 0.5805 MB / 0.9955 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.632, allocations: 38.31 kB / 0.9956 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.634, allocations: 223.2 kB / 0.9958 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.634, allocations: 146.4 kB / 0.9959 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.634, allocations: 72.09 kB / 0.996 GB, free: 78.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00535/1.64, allocations: 3.824 MB / 0.9997 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/1.64, allocations: 4 kB / 0.9997 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008035/1.648, allocations: 1.478 MB / 1.001 GB, free: 77.29 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 (202): * Single equations (assignments): 197 * 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.000587/1.648, allocations: 192.8 kB / 1.001 GB, free: 77.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.659, allocations: 7.897 MB / 1.009 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.659, allocations: 0 / 1.009 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/1.663, allocations: 3.221 MB / 1.012 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.667, allocations: 0.6602 MB / 1.013 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.69, allocations: 16.2 MB / 1.029 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/1.695, allocations: 4.546 MB / 1.033 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005754/1.7, allocations: 2.59 MB / 1.036 GB, free: 49.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.702, allocations: 350 kB / 1.036 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.702, allocations: 0 / 1.036 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.08901/1.791, allocations: 57.53 MB / 1.092 GB, free: 11.02 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches