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.001642/0.001642, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.327/2.327, allocations: 227.4 MB / 246.9 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4084/0.4084, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 74.02 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1766, allocations: 62.44 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.5506/0.7273, allocations: 108.1 MB / 0.5742 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08418/0.8116, allocations: 20.38 MB / 0.5941 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03251/0.8442, allocations: 482.8 kB / 0.5946 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01552/0.8598, allocations: 6.289 MB / 0.6007 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.8702, allocations: 2.736 MB / 0.6034 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004547/0.8748, allocations: 1.478 MB / 0.6048 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02049/0.8954, allocations: 14.13 MB / 0.6186 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.9101, allocations: 7.881 MB / 0.6263 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008569/0.9188, allocations: 2.76 MB / 0.629 GB, free: 14.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01341/0.9323, allocations: 4.506 MB / 0.6334 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004494/0.9368, allocations: 491.9 kB / 0.6339 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009042/0.9459, allocations: 1.568 MB / 0.6354 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00885/0.9549, allocations: 3.666 MB / 0.639 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01758/0.9725, allocations: 4.004 MB / 0.6429 GB, free: 340 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02325/0.9959, allocations: 10.32 MB / 0.653 GB, free: 5.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.996, allocations: 3.938 kB / 0.653 GB, free: 5.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.996, allocations: 0 / 0.653 GB, free: 5.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000674/0.9967, allocations: 0 / 0.653 GB, free: 5.984 MB / 494.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.04493/1.042, allocations: 9.038 MB / 0.6618 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/1.042, allocations: 12.88 kB / 0.6619 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/1.071, allocations: 3.485 MB / 0.6653 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01904/1.09, allocations: 5.909 MB / 0.671 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005301/1.09, allocations: 448.1 kB / 0.6715 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/1.093, allocations: 0.601 MB / 0.672 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/1.139, allocations: 17.11 MB / 0.6888 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006238/1.14, allocations: 83.2 kB / 0.6888 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/1.143, allocations: 275.8 kB / 0.6891 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006985/1.15, allocations: 2.889 MB / 0.6919 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7677/1.918, allocations: 14.34 MB / 0.7059 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/2.04, allocations: 64.73 MB / 0.7691 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.018/2.058, allocations: 6.614 MB / 0.7756 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007049/2.065, allocations: 3.883 MB / 0.7794 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/2.066, allocations: 0.6497 MB / 0.78 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/2.066, allocations: 68.16 kB / 0.7801 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=231): time 6.031e-06/2.066, allocations: 0 / 0.7801 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=255): time 0.1466/2.213, allocations: 31.3 MB / 0.8106 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/2.213, allocations: 295 kB / 0.8109 GB, free: 90.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02052/2.234, allocations: 7.311 MB / 0.8181 GB, free: 83.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009939/2.235, allocations: 65.7 kB / 0.8181 GB, free: 83.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005399/2.24, allocations: 5.086 MB / 0.8231 GB, free: 78.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002314/2.243, allocations: 1.001 MB / 0.8241 GB, free: 77.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004628/2.247, allocations: 1.842 MB / 0.8259 GB, free: 75.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/2.247, allocations: 301.1 kB / 0.8262 GB, free: 74.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/2.253, allocations: 3.426 MB / 0.8295 GB, free: 71.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009362/2.262, allocations: 8.619 MB / 0.8379 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.277, allocations: 12.85 MB / 0.8505 GB, free: 44.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/2.277, allocations: 59.94 kB / 0.8505 GB, free: 44.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.04177/2.319, allocations: 13.83 MB / 0.864 GB, free: 31.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/2.319, allocations: 80.94 kB / 0.8641 GB, free: 30.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002503/2.319, allocations: 184 kB / 0.8643 GB, free: 30.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/2.327, allocations: 2.305 MB / 0.8665 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/2.338, allocations: 2.027 MB / 0.8685 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/2.357, allocations: 15.58 MB / 0.8837 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009184/2.366, allocations: 0.5027 MB / 0.8842 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/2.369, allocations: 0.5192 MB / 0.8847 GB, free: 9.293 MB / 0.5294 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.01015/2.379, allocations: 3.406 MB / 0.8881 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00266/2.382, allocations: 0.6016 MB / 0.8886 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/2.397, allocations: 6.457 MB / 0.8949 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/2.398, allocations: 28 kB / 0.895 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.199e-05/2.398, allocations: 8 kB / 0.895 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/2.398, allocations: 15.95 kB / 0.895 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03821/2.436, allocations: 14.36 MB / 0.909 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/2.436, allocations: 4 kB / 0.909 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4669/2.903, allocations: 396.6 kB / 0.9094 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00822/2.911, allocations: 2.001 MB / 0.9114 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007337/2.912, allocations: 40.73 kB / 0.9114 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/2.934, allocations: 14.46 MB / 0.9255 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.934, allocations: 1.609 kB / 0.9255 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0246/2.959, allocations: 10.13 MB / 0.9354 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/2.962, allocations: 0.6798 MB / 0.9361 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00308/2.965, allocations: 39.48 kB / 0.9361 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004654/2.97, allocations: 182.5 kB / 0.9363 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/2.971, allocations: 149.6 kB / 0.9364 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/2.971, allocations: 71.03 kB / 0.9365 GB, free: 166.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01087/2.982, allocations: 4.664 MB / 0.9411 GB, free: 165.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.71e-07/2.982, allocations: 0 / 0.9411 GB, free: 165.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01251/2.995, allocations: 1.735 MB / 0.9427 GB, free: 165 MB / 0.545 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.001038/2.996, allocations: 187.5 kB / 0.9429 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01611/3.012, allocations: 8.468 MB / 0.9512 GB, free: 161.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/3.012, allocations: 3.719 kB / 0.9512 GB, free: 161.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004906/3.017, allocations: 2.941 MB / 0.9541 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/3.027, allocations: 0.8493 MB / 0.9549 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04547/3.072, allocations: 20.24 MB / 0.9747 GB, free: 140.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008769/3.081, allocations: 5.188 MB / 0.9797 GB, free: 135.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/3.083, allocations: 451.4 kB / 0.9802 GB, free: 135.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/3.083, allocations: 4 kB / 0.9802 GB, free: 135.3 MB / 0.545 GB Notification: Performance of Templates: time 0.7964/3.88, allocations: 223.9 MB / 1.199 GB, free: 126.1 MB / 0.5607 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