Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, 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.0009877/0.0009876, allocations: 92.77 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 45.15 MB / 383.8 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.311e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5097, allocations: 107.2 MB / 0.609 GB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.51, allocations: 75.47 kB / 0.6091 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6404/1.15, allocations: 158.2 MB / 0.7636 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/1.15, allocations: 0.9062 kB / 0.7636 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005359/1.151, allocations: 157.1 kB / 0.7637 GB, free: 101.7 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02517/1.176, allocations: 7.715 MB / 0.7713 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.176, allocations: 8.25 kB / 0.7713 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04351/1.22, allocations: 11.94 MB / 0.7829 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/1.241, allocations: 9.081 MB / 0.7918 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/1.241, allocations: 251.5 kB / 0.792 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/1.244, allocations: 465.3 kB / 0.7925 GB, free: 97.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01521/1.259, allocations: 10.12 MB / 0.8024 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/1.285, allocations: 15.45 MB / 0.8175 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/1.285, allocations: 107.8 kB / 0.8176 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/1.286, allocations: 44.31 kB / 0.8176 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/1.288, allocations: 1.573 MB / 0.8191 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06105/1.349, allocations: 72.67 MB / 0.8901 GB, free: 43.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/1.354, allocations: 5.058 MB / 0.895 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.357, allocations: 3.385 MB / 0.8984 GB, free: 37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.357, allocations: 0.6487 MB / 0.899 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.357, allocations: 70.78 kB / 0.8991 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 4.539e-06/1.357, allocations: 0 / 0.8991 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.04749/1.405, allocations: 30.13 MB / 0.9285 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.405, allocations: 285.8 kB / 0.9288 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006835/1.412, allocations: 5.147 MB / 0.9338 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/1.412, allocations: 25.7 kB / 0.9338 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.415, allocations: 5.43 MB / 0.9391 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.416, allocations: 0.9766 MB / 0.9401 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/1.417, allocations: 4 kB / 0.9401 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004459/1.417, allocations: 0.6706 MB / 0.9407 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003759/1.421, allocations: 2.691 MB / 0.9433 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007278/1.428, allocations: 8.023 MB / 0.9512 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.275/1.703, allocations: 4.609 MB / 0.9557 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/1.703, allocations: 55.22 kB / 0.9557 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.01975/1.723, allocations: 10.33 MB / 0.9658 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.723, allocations: 89.33 kB / 0.9659 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002842/1.724, allocations: 190.8 kB / 0.9661 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/1.726, allocations: 1.023 MB / 0.9671 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00645/1.733, allocations: 2.002 MB / 0.969 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009448/1.742, allocations: 10.78 MB / 0.9796 GB, free: 98.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006439/1.748, allocations: 291.7 kB / 0.9799 GB, free: 98.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.75, allocations: 0.5292 MB / 0.9804 GB, free: 98.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1050 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00134/1.751, allocations: 0.595 MB / 0.981 GB, free: 98.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009877/1.752, allocations: 0.5404 MB / 0.9815 GB, free: 98.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/1.758, allocations: 4.276 MB / 0.9857 GB, free: 97.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/1.759, allocations: 26.88 kB / 0.9857 GB, free: 97.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.759, allocations: 17.91 kB / 0.9857 GB, free: 97.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/1.759, allocations: 11.48 kB / 0.9857 GB, free: 97.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/1.775, allocations: 10.88 MB / 0.9963 GB, free: 97.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.775, allocations: 0 / 0.9963 GB, free: 97.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.777, allocations: 416.4 kB / 0.9967 GB, free: 97.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/1.779, allocations: 0.6835 MB / 0.9974 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.779, allocations: 7.094 kB / 0.9974 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/1.787, allocations: 9.715 MB / 1.007 GB, free: 92.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.787, allocations: 6.656 kB / 1.007 GB, free: 92.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008439/1.795, allocations: 7.515 MB / 1.014 GB, free: 91.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.797, allocations: 0.5667 MB / 1.015 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008238/1.797, allocations: 9.391 kB / 1.015 GB, free: 90.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.799, allocations: 101.8 kB / 1.015 GB, free: 90.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/1.8, allocations: 151.8 kB / 1.015 GB, free: 90.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.8, allocations: 66.64 kB / 1.015 GB, free: 90.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005318/1.805, allocations: 3.497 MB / 1.019 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.805, allocations: 0 / 1.019 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008478/1.814, allocations: 1.429 MB / 1.02 GB, free: 90.6 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 (198): * Single equations (assignments): 191 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005297/1.814, allocations: 157.2 kB / 1.02 GB, free: 90.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008974/1.823, allocations: 6.945 MB / 1.027 GB, free: 87.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.823, allocations: 6.844 kB / 1.027 GB, free: 87.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.826, allocations: 2.448 MB / 1.029 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.83, allocations: 0.7518 MB / 1.03 GB, free: 86.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.851, allocations: 12.9 MB / 1.043 GB, free: 82.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005391/1.856, allocations: 5.584 MB / 1.048 GB, free: 80.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005989/1.862, allocations: 2.695 MB / 1.051 GB, free: 80.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.863, allocations: 368.1 kB / 1.051 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/1.863, allocations: 0 / 1.051 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.08076/1.944, allocations: 51.82 MB / 1.102 GB, free: 45.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches