Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001862/0.001862, 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.002625/0.002626, 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.041/2.041, allocations: 227.4 MB / 246.9 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3934/0.3934, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003077/0.003076, allocations: 81.3 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1795, allocations: 62.44 MB / 479.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4967/0.6763, allocations: 80.48 MB / 0.5473 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06632/0.7427, allocations: 15.7 MB / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03161/0.7744, allocations: 350.9 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01381/0.7883, allocations: 4.753 MB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.8004, allocations: 2.242 MB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.8053, allocations: 1.057 MB / 0.5708 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01974/0.8251, allocations: 9.698 MB / 0.5803 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.837, allocations: 5.657 MB / 0.5858 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007159/0.8443, allocations: 2.079 MB / 0.5878 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008326/0.8527, allocations: 3.306 MB / 0.5911 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.8555, allocations: 372 kB / 0.5914 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006696/0.8622, allocations: 1.486 MB / 0.5929 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00655/0.8688, allocations: 2.77 MB / 0.5956 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.8791, allocations: 3.126 MB / 0.5986 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.8946, allocations: 8.057 MB / 0.6065 GB, free: 5.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.8947, allocations: 4 kB / 0.6065 GB, free: 5.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.8947, allocations: 0 / 0.6065 GB, free: 5.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005231/0.8953, allocations: 0 / 0.6065 GB, free: 5.652 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.03189/0.9272, allocations: 7.189 MB / 0.6135 GB, free: 14.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.9273, allocations: 13.95 kB / 0.6135 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/0.9463, allocations: 2.64 MB / 0.6161 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.9613, allocations: 4.107 MB / 0.6201 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/0.9619, allocations: 349.6 kB / 0.6205 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/0.9652, allocations: 471.7 kB / 0.6209 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04518/1.01, allocations: 14.49 MB / 0.6351 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003591/1.011, allocations: 71.45 kB / 0.6351 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/1.013, allocations: 215.8 kB / 0.6353 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006852/1.019, allocations: 2.633 MB / 0.6379 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03983/1.059, allocations: 12.37 MB / 0.65 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.121/1.18, allocations: 55.58 MB / 0.7043 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02946/1.21, allocations: 5.798 MB / 0.7099 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00896/1.219, allocations: 3.644 MB / 0.7135 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5037/1.723, allocations: 8.136 MB / 0.7214 GB, free: 196.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.723, allocations: 60.86 kB / 0.7215 GB, free: 196 MB / 0.545 GB Notification: Performance of pre-optimization done (n=227): time 1.362e-05/1.723, allocations: 0 / 0.7215 GB, free: 196 MB / 0.545 GB Notification: Performance of matching and sorting (n=269): time 0.1551/1.878, allocations: 30.89 MB / 0.7517 GB, free: 186.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/1.878, allocations: 232.6 kB / 0.7519 GB, free: 186 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01792/1.896, allocations: 6.323 MB / 0.7581 GB, free: 181.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.897, allocations: 65.7 kB / 0.7581 GB, free: 181.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004756/1.902, allocations: 4.192 MB / 0.7622 GB, free: 177.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00293/1.905, allocations: 1.033 MB / 0.7632 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008863/1.914, allocations: 1.669 MB / 0.7649 GB, free: 174.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.914, allocations: 301.1 kB / 0.7651 GB, free: 174.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009578/1.924, allocations: 3.432 MB / 0.7685 GB, free: 170.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/1.937, allocations: 8.072 MB / 0.7764 GB, free: 160.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02014/1.957, allocations: 12.36 MB / 0.7884 GB, free: 145.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002638/1.958, allocations: 48 kB / 0.7885 GB, free: 145.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.0412/1.999, allocations: 13.36 MB / 0.8015 GB, free: 132.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.999, allocations: 76.25 kB / 0.8016 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002835/1.999, allocations: 164 kB / 0.8018 GB, free: 132.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009539/2.009, allocations: 2.261 MB / 0.804 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/2.02, allocations: 1.856 MB / 0.8058 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/2.047, allocations: 13.45 MB / 0.8189 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01578/2.063, allocations: 479.2 kB / 0.8194 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003686/2.067, allocations: 491.7 kB / 0.8198 GB, free: 113.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (981): * Single equations (assignments): 974 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01267/2.079, allocations: 2.879 MB / 0.8227 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002828/2.082, allocations: 0.5244 MB / 0.8232 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/2.104, allocations: 6.994 MB / 0.83 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/2.104, allocations: 28 kB / 0.83 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.036e-05/2.104, allocations: 8 kB / 0.83 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.549e-05/2.104, allocations: 15.95 kB / 0.8301 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04683/2.151, allocations: 14.44 MB / 0.8442 GB, free: 88.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.348e-05/2.151, allocations: 4 kB / 0.8442 GB, free: 88.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004319/2.156, allocations: 443.6 kB / 0.8446 GB, free: 88.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009699/2.165, allocations: 2.033 MB / 0.8466 GB, free: 86.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/2.166, allocations: 56 kB / 0.8466 GB, free: 85.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/2.193, allocations: 12.76 MB / 0.8591 GB, free: 72.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/2.193, allocations: 4 kB / 0.8591 GB, free: 72.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03197/2.225, allocations: 11.04 MB / 0.8699 GB, free: 61.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/2.228, allocations: 0.6143 MB / 0.8705 GB, free: 61.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003661/2.232, allocations: 44 kB / 0.8705 GB, free: 61.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005788/2.237, allocations: 199.6 kB / 0.8707 GB, free: 60.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/2.239, allocations: 161.7 kB / 0.8709 GB, free: 60.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007296/2.24, allocations: 71.91 kB / 0.8709 GB, free: 60.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01064/2.25, allocations: 4.053 MB / 0.8749 GB, free: 56.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/2.25, allocations: 0 / 0.8749 GB, free: 56.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01486/2.265, allocations: 1.522 MB / 0.8764 GB, free: 55.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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 {(5,17,72.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/2.267, allocations: 195.8 kB / 0.8766 GB, free: 54.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02145/2.288, allocations: 8.351 MB / 0.8847 GB, free: 46.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/2.288, allocations: 0 / 0.8847 GB, free: 46.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009817/2.298, allocations: 3.488 MB / 0.8881 GB, free: 43.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/2.308, allocations: 0.6727 MB / 0.8888 GB, free: 42.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04895/2.357, allocations: 17.66 MB / 0.906 GB, free: 24.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/2.371, allocations: 4.407 MB / 0.9103 GB, free: 20.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/2.374, allocations: 419.4 kB / 0.9107 GB, free: 19.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.214e-06/2.374, allocations: 3.938 kB / 0.9107 GB, free: 19.84 MB / 0.545 GB Notification: Performance of Templates: time 0.7112/3.085, allocations: 138.3 MB / 1.046 GB, free: 71.62 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches