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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 110.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.89 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3902, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.02034/0.4106, allocations: 17.84 MB / 0.5491 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.4254, allocations: 5.629 MB / 0.5546 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.4306, allocations: 127.6 kB / 0.5547 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.4423, allocations: 6.265 MB / 0.5608 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009351/0.4517, allocations: 2.886 MB / 0.5636 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.4562, allocations: 1.587 MB / 0.5652 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01504/0.4712, allocations: 9.887 MB / 0.5748 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.4813, allocations: 7.983 MB / 0.5826 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.4879, allocations: 3.124 MB / 0.5857 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006891/0.4949, allocations: 4.238 MB / 0.5898 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.4972, allocations: 0.6797 MB / 0.5905 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.5014, allocations: 1.69 MB / 0.5921 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004628/0.506, allocations: 3.862 MB / 0.5959 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006476/0.5125, allocations: 4.196 MB / 0.6 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.5302, allocations: 12.98 MB / 0.6127 GB, free: 14.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.5303, allocations: 0 / 0.6127 GB, free: 14.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5303, allocations: 4 kB / 0.6127 GB, free: 14.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000515/0.5308, allocations: 4 kB / 0.6127 GB, free: 14.43 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02916/0.56, allocations: 9.03 MB / 0.6215 GB, free: 5.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5601, allocations: 8.031 kB / 0.6215 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/0.5797, allocations: 3.493 MB / 0.6249 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.5965, allocations: 6.026 MB / 0.6308 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.5969, allocations: 447.7 kB / 0.6312 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/0.5994, allocations: 0.5933 MB / 0.6318 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/0.6371, allocations: 17.11 MB / 0.6485 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003333/0.6375, allocations: 83.22 kB / 0.6486 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/0.6392, allocations: 283.8 kB / 0.6489 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005694/0.6449, allocations: 2.885 MB / 0.6517 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03274/0.6777, allocations: 14.34 MB / 0.6657 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6214/1.299, allocations: 64.41 MB / 0.7286 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.316, allocations: 6.611 MB / 0.7351 GB, free: 120.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/1.32, allocations: 3.897 MB / 0.7389 GB, free: 120 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/1.32, allocations: 0.6441 MB / 0.7395 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.321, allocations: 63.22 kB / 0.7396 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 4.709e-06/1.321, allocations: 3.719 kB / 0.7396 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.07503/1.396, allocations: 31.3 MB / 0.7701 GB, free: 99.34 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/1.396, allocations: 289 kB / 0.7704 GB, free: 99 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009084/1.405, allocations: 7.314 MB / 0.7775 GB, free: 91.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.406, allocations: 69.7 kB / 0.7776 GB, free: 91.63 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.408, allocations: 5.083 MB / 0.7826 GB, free: 86.55 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.409, allocations: 0.9949 MB / 0.7835 GB, free: 85.57 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/1.411, allocations: 1.851 MB / 0.7854 GB, free: 83.71 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/1.411, allocations: 308.5 kB / 0.7856 GB, free: 83.41 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/1.415, allocations: 3.426 MB / 0.789 GB, free: 79.97 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005673/1.421, allocations: 8.618 MB / 0.7974 GB, free: 68.99 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.432, allocations: 12.84 MB / 0.81 GB, free: 53.87 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/1.432, allocations: 52 kB / 0.81 GB, free: 53.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02172/1.453, allocations: 13.84 MB / 0.8235 GB, free: 39.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.454, allocations: 80 kB / 0.8236 GB, free: 39.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/1.454, allocations: 184 kB / 0.8238 GB, free: 39.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005289/1.459, allocations: 2.307 MB / 0.826 GB, free: 37.38 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.465, allocations: 2.031 MB / 0.828 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.48, allocations: 16.7 MB / 0.8443 GB, free: 18.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00673/1.487, allocations: 0.4994 MB / 0.8448 GB, free: 17.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/1.488, allocations: 0.5195 MB / 0.8453 GB, free: 17.08 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],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.color[3],frameTorque2.color[2],frameTorque2.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005023/1.493, allocations: 3.409 MB / 0.8486 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.495, allocations: 0.6054 MB / 0.8492 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009816/1.504, allocations: 6.449 MB / 0.8555 GB, free: 6.574 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/1.504, allocations: 30.72 kB / 0.8556 GB, free: 6.547 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/1.504, allocations: 12 kB / 0.8556 GB, free: 6.535 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/1.505, allocations: 11.95 kB / 0.8556 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.533, allocations: 14.3 MB / 0.8695 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.533, allocations: 0 / 0.8695 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.535, allocations: 399.4 kB / 0.8699 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/1.541, allocations: 2.002 MB / 0.8719 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005307/1.542, allocations: 40 kB / 0.8719 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/1.561, allocations: 15.64 MB / 0.8872 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.561, allocations: 0 / 0.8872 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/1.579, allocations: 10.14 MB / 0.8971 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.582, allocations: 0.6804 MB / 0.8978 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.583, allocations: 40 kB / 0.8978 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.587, allocations: 183.7 kB / 0.898 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/1.587, allocations: 149.7 kB / 0.8981 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/1.588, allocations: 67.98 kB / 0.8982 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008997/1.597, allocations: 4.663 MB / 0.9027 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.82e-07/1.597, allocations: 0 / 0.9027 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009605/1.606, allocations: 1.725 MB / 0.9044 GB, free: 3.832 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009944/1.607, allocations: 191.7 kB / 0.9046 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.623, allocations: 8.501 MB / 0.9129 GB, free: 11.13 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.623, allocations: 0 / 0.9129 GB, free: 11.13 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.628, allocations: 2.94 MB / 0.9158 GB, free: 8.152 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007808/1.636, allocations: 0.9072 MB / 0.9167 GB, free: 7.254 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03479/1.671, allocations: 16.77 MB / 0.933 GB, free: 6.461 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008972/1.68, allocations: 5.195 MB / 0.9381 GB, free: 1.23 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.682, allocations: 455.4 kB / 0.9385 GB, free: 0.7852 MB / 0.6388 GB Notification: Performance of SimCode: time 1.072e-06/1.682, allocations: 0 / 0.9385 GB, free: 0.7852 MB / 0.6388 GB Notification: Performance of Templates: time 0.5297/2.211, allocations: 226.1 MB / 1.159 GB, free: 67.79 MB / 0.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches