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.0009666/0.0009666, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 63.56 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2967/0.4105, allocations: 105.6 MB / 0.5755 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04752/0.4581, allocations: 20.32 MB / 0.5954 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01975/0.4778, allocations: 478.8 kB / 0.5958 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.4805, allocations: 0.6917 MB / 0.5965 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.4881, allocations: 2.74 MB / 0.5992 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.4912, allocations: 1.248 MB / 0.6004 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.5071, allocations: 14.12 MB / 0.6142 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.5235, allocations: 11.19 MB / 0.6251 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.5281, allocations: 2.202 MB / 0.6272 GB, free: 3.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.5339, allocations: 3.804 MB / 0.631 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.5354, allocations: 260 kB / 0.6312 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.5389, allocations: 1.334 MB / 0.6325 GB, free: 14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004127/0.543, allocations: 3.327 MB / 0.6358 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005784/0.5488, allocations: 3.596 MB / 0.6393 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5599, allocations: 10.08 MB / 0.6491 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.56, allocations: 0 / 0.6491 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.56, allocations: 4 kB / 0.6491 GB, free: 12.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004372/0.5604, allocations: 0 / 0.6491 GB, free: 12.93 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.01716/0.5776, allocations: 7.424 MB / 0.6564 GB, free: 5.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5776, allocations: 8.875 kB / 0.6564 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/0.5958, allocations: 3.567 MB / 0.6599 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.6089, allocations: 5.901 MB / 0.6656 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.6094, allocations: 444.1 kB / 0.666 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.6114, allocations: 0.601 MB / 0.6666 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03716/0.6485, allocations: 17.15 MB / 0.6834 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004302/0.649, allocations: 91.2 kB / 0.6835 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/0.6511, allocations: 271.8 kB / 0.6837 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0054/0.6565, allocations: 2.889 MB / 0.6866 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/0.6878, allocations: 14.38 MB / 0.7006 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4869/1.175, allocations: 64.76 MB / 0.7638 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/1.192, allocations: 6.645 MB / 0.7703 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004745/1.197, allocations: 3.879 MB / 0.7741 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/1.197, allocations: 0.6494 MB / 0.7748 GB, free: 128 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/1.197, allocations: 71.41 kB / 0.7748 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=231): time 6.772e-06/1.197, allocations: 0 / 0.7748 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=255): time 0.08529/1.283, allocations: 31.28 MB / 0.8054 GB, free: 97.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/1.283, allocations: 287 kB / 0.8057 GB, free: 97.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.295, allocations: 7.319 MB / 0.8128 GB, free: 90.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006734/1.296, allocations: 61.7 kB / 0.8129 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/1.299, allocations: 5.083 MB / 0.8178 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.301, allocations: 1.009 MB / 0.8188 GB, free: 83.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/1.302, allocations: 0.7796 MB / 0.8196 GB, free: 83.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/1.302, allocations: 313.1 kB / 0.8199 GB, free: 82.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.308, allocations: 3.422 MB / 0.8232 GB, free: 79.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/1.316, allocations: 8.618 MB / 0.8316 GB, free: 68.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.328, allocations: 12.84 MB / 0.8442 GB, free: 52.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/1.329, allocations: 52 kB / 0.8442 GB, free: 52.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.0244/1.353, allocations: 13.84 MB / 0.8577 GB, free: 38.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.353, allocations: 87.98 kB / 0.8578 GB, free: 38.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002401/1.354, allocations: 180 kB / 0.858 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005973/1.36, allocations: 2.297 MB / 0.8602 GB, free: 36.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/1.366, allocations: 2.032 MB / 0.8622 GB, free: 34.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.383, allocations: 15.59 MB / 0.8774 GB, free: 18.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/1.39, allocations: 0.5007 MB / 0.8779 GB, free: 17.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.392, allocations: 0.5156 MB / 0.8784 GB, free: 17.14 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.007014/1.399, allocations: 3.411 MB / 0.8818 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.4, allocations: 0.6055 MB / 0.8823 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.413, allocations: 6.449 MB / 0.8886 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-05/1.413, allocations: 28 kB / 0.8887 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-05/1.413, allocations: 8 kB / 0.8887 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.124e-05/1.413, allocations: 15.95 kB / 0.8887 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03211/1.446, allocations: 14.36 MB / 0.9027 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/1.446, allocations: 0 / 0.9027 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.448, allocations: 415.4 kB / 0.9031 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006127/1.454, allocations: 1.99 MB / 0.9051 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005755/1.455, allocations: 44 kB / 0.9051 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2644/1.719, allocations: 14.46 MB / 0.9192 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.719, allocations: 1.031 kB / 0.9192 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/1.738, allocations: 10.13 MB / 0.9291 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.74, allocations: 0.684 MB / 0.9298 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.741, allocations: 50.41 kB / 0.9298 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/1.745, allocations: 192.8 kB / 0.93 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007557/1.746, allocations: 151.5 kB / 0.9302 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003684/1.746, allocations: 66.34 kB / 0.9302 GB, free: 170.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008931/1.755, allocations: 4.666 MB / 0.9348 GB, free: 169.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.755, allocations: 0 / 0.9348 GB, free: 169.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008777/1.764, allocations: 1.736 MB / 0.9365 GB, free: 169.2 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.0008393/1.765, allocations: 180.2 kB / 0.9366 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.777, allocations: 8.483 MB / 0.9449 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.777, allocations: 0 / 0.9449 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/1.781, allocations: 2.935 MB / 0.9478 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008328/1.79, allocations: 0.8415 MB / 0.9486 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.819, allocations: 20.39 MB / 0.9685 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007162/1.826, allocations: 5.188 MB / 0.9736 GB, free: 141.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.828, allocations: 451.4 kB / 0.974 GB, free: 141.3 MB / 0.545 GB Notification: Performance of SimCode: time 5.92e-07/1.828, allocations: 2.625 kB / 0.974 GB, free: 141.3 MB / 0.545 GB Notification: Performance of Templates: time 0.4445/2.273, allocations: 222.5 MB / 1.191 GB, free: 134.4 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