Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001383, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4403, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01483/0.4552, allocations: 12.68 MB / 0.5434 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.4664, allocations: 4.495 MB / 0.5478 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.4698, allocations: 85.94 kB / 0.5479 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006988/0.4769, allocations: 3.712 MB / 0.5515 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006759/0.4837, allocations: 2.186 MB / 0.5536 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.4864, allocations: 0.9982 MB / 0.5546 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.498, allocations: 6.037 MB / 0.5605 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.5037, allocations: 4.555 MB / 0.5649 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.5072, allocations: 1.955 MB / 0.5668 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.5112, allocations: 2.605 MB / 0.5694 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.5123, allocations: 411.9 kB / 0.5698 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.5155, allocations: 1.451 MB / 0.5712 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002453/0.5179, allocations: 2.416 MB / 0.5736 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.5211, allocations: 2.707 MB / 0.5762 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.5319, allocations: 8.65 MB / 0.5846 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.532, allocations: 3.984 kB / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.532, allocations: 0 / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002319/0.5322, allocations: 0 / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01312/0.5454, allocations: 6.171 MB / 0.5907 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5454, allocations: 12.03 kB / 0.5907 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.5565, allocations: 2.571 MB / 0.5932 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00782/0.5644, allocations: 3.76 MB / 0.5969 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.5646, allocations: 282.5 kB / 0.5971 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009631/0.5656, allocations: 375.8 kB / 0.5975 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/0.5862, allocations: 11.61 MB / 0.6088 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.5864, allocations: 59.52 kB / 0.6089 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.5868, allocations: 183.8 kB / 0.6091 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00334/0.5902, allocations: 2.143 MB / 0.6112 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.6085, allocations: 9.625 MB / 0.6206 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05567/0.6642, allocations: 45.85 MB / 0.6653 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009869/0.6741, allocations: 3.921 MB / 0.6692 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.6769, allocations: 2.139 MB / 0.6713 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00911/0.686, allocations: 5.899 MB / 0.677 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.6861, allocations: 48.11 kB / 0.6771 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.087e-06/0.6861, allocations: 0 / 0.6771 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04691/0.733, allocations: 17.7 MB / 0.6944 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7332, allocations: 222.2 kB / 0.6946 GB, free: 7.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008876/0.742, allocations: 5.628 MB / 0.7001 GB, free: 1.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005625/0.7426, allocations: 57.61 kB / 0.7001 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003318/0.746, allocations: 3.849 MB / 0.7039 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009389/0.7469, allocations: 0.6864 MB / 0.7045 GB, free: 13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/0.7488, allocations: 1.417 MB / 0.7059 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.749, allocations: 309.1 kB / 0.7062 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/0.7525, allocations: 2.285 MB / 0.7085 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006941/0.7594, allocations: 6.551 MB / 0.7149 GB, free: 312 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3565/1.116, allocations: 9.521 MB / 0.7242 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002391/1.116, allocations: 43.84 kB / 0.7242 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02019/1.136, allocations: 9.595 MB / 0.7336 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.137, allocations: 71.88 kB / 0.7336 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/1.137, allocations: 147.6 kB / 0.7338 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0034/1.14, allocations: 1.235 MB / 0.735 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/1.146, allocations: 1.563 MB / 0.7365 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009501/1.155, allocations: 8.46 MB / 0.7448 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.161, allocations: 368.9 kB / 0.7451 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.163, allocations: 422.8 kB / 0.7455 GB, free: 141.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (836): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.005298/1.168, allocations: 2.465 MB / 0.7479 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.17, allocations: 479.7 kB / 0.7484 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/1.176, allocations: 3.391 MB / 0.7517 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/1.176, allocations: 20 kB / 0.7517 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/1.176, allocations: 7.938 kB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.176, allocations: 7.969 kB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.197, allocations: 8.191 MB / 0.7597 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/1.197, allocations: 7.938 kB / 0.7597 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.198, allocations: 256 kB / 0.76 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/1.2, allocations: 1.004 MB / 0.761 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.201, allocations: 35.75 kB / 0.761 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007671/1.208, allocations: 7.807 MB / 0.7686 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.208, allocations: 4 kB / 0.7686 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00853/1.217, allocations: 5.873 MB / 0.7744 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.219, allocations: 0.5397 MB / 0.7749 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/1.22, allocations: 35.94 kB / 0.7749 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/1.223, allocations: 91.88 kB / 0.775 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/1.223, allocations: 92.81 kB / 0.7751 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.223, allocations: 40 kB / 0.7751 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006919/1.23, allocations: 3.6 MB / 0.7787 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.062e-06/1.23, allocations: 4 kB / 0.7787 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008452/1.239, allocations: 1.145 MB / 0.7798 GB, free: 106.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0008659/1.24, allocations: 159.5 kB / 0.7799 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008816/1.249, allocations: 5.565 MB / 0.7854 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.249, allocations: 6.5 kB / 0.7854 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.251, allocations: 1.631 MB / 0.787 GB, free: 99.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/1.256, allocations: 0.5849 MB / 0.7875 GB, free: 98.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.274, allocations: 10.92 MB / 0.7982 GB, free: 87.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004875/1.279, allocations: 3.783 MB / 0.8019 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004757/1.284, allocations: 2.105 MB / 0.8039 GB, free: 81.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.285, allocations: 287.4 kB / 0.8042 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.285, allocations: 0 / 0.8042 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.07035/1.356, allocations: 40.65 MB / 0.8439 GB, free: 41.18 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches