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.001717/0.001717, allocations: 103.5 kB / 17.98 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002414/0.002414, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.374/2.374, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3683/0.3683, allocations: 46.09 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00687/0.00687, allocations: 77.38 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2847, allocations: 62.43 MB / 480.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.6169/0.9017, allocations: 80.5 MB / 0.5475 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06903/0.9707, allocations: 15.6 MB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02756/0.9984, allocations: 350.6 kB / 0.5631 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01699/1.016, allocations: 4.574 MB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02111/1.037, allocations: 2.226 MB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009754/1.047, allocations: 1.069 MB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02621/1.073, allocations: 7.11 MB / 0.5777 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02017/1.093, allocations: 6.048 MB / 0.5836 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007826/1.101, allocations: 2.379 MB / 0.5859 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009512/1.11, allocations: 3.431 MB / 0.5893 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002875/1.113, allocations: 0.4961 MB / 0.5898 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00715/1.121, allocations: 1.549 MB / 0.5913 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01151/1.132, allocations: 2.907 MB / 0.5941 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01467/1.147, allocations: 3.286 MB / 0.5973 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02656/1.174, allocations: 8.14 MB / 0.6053 GB, free: 6.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/1.174, allocations: 0 / 0.6053 GB, free: 6.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.166e-06/1.174, allocations: 4 kB / 0.6053 GB, free: 6.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004503/1.174, allocations: 0 / 0.6053 GB, free: 6.984 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.05032/1.229, allocations: 7.189 MB / 0.6123 GB, free: 15.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/1.229, allocations: 9.109 kB / 0.6123 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04419/1.273, allocations: 2.66 MB / 0.6149 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02982/1.303, allocations: 4.1 MB / 0.6189 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/1.303, allocations: 353.6 kB / 0.6192 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003133/1.307, allocations: 475.6 kB / 0.6197 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06931/1.376, allocations: 14.49 MB / 0.6338 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004472/1.377, allocations: 63.41 kB / 0.6339 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/1.379, allocations: 223.8 kB / 0.6341 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01245/1.391, allocations: 2.633 MB / 0.6367 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07918/1.471, allocations: 12.38 MB / 0.6488 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1906/1.661, allocations: 55.58 MB / 0.7031 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03319/1.695, allocations: 5.801 MB / 0.7087 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009478/1.704, allocations: 3.643 MB / 0.7123 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3943/2.099, allocations: 8.131 MB / 0.7202 GB, free: 195.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/2.099, allocations: 59.77 kB / 0.7203 GB, free: 195.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=227): time 1.745e-05/2.099, allocations: 0.9688 kB / 0.7203 GB, free: 195.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=269): time 0.1669/2.266, allocations: 30.9 MB / 0.7504 GB, free: 186.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/2.266, allocations: 231.9 kB / 0.7507 GB, free: 186 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0181/2.284, allocations: 6.322 MB / 0.7568 GB, free: 182.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/2.285, allocations: 61.7 kB / 0.7569 GB, free: 182.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005066/2.29, allocations: 4.193 MB / 0.761 GB, free: 178.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002501/2.293, allocations: 1.035 MB / 0.762 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007497/2.3, allocations: 1.671 MB / 0.7636 GB, free: 175.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/2.3, allocations: 305.1 kB / 0.7639 GB, free: 175.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009546/2.31, allocations: 3.432 MB / 0.7673 GB, free: 172.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/2.323, allocations: 8.076 MB / 0.7752 GB, free: 161.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02184/2.345, allocations: 12.36 MB / 0.7872 GB, free: 147.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002795/2.346, allocations: 48 kB / 0.7873 GB, free: 147.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.04689/2.393, allocations: 13.35 MB / 0.8003 GB, free: 133.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005742/2.393, allocations: 76.06 kB / 0.8004 GB, free: 133.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006893/2.394, allocations: 168 kB / 0.8006 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/2.405, allocations: 2.272 MB / 0.8028 GB, free: 131.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/2.417, allocations: 1.848 MB / 0.8046 GB, free: 129.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/2.448, allocations: 14.39 MB / 0.8186 GB, free: 114.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/2.461, allocations: 475.2 kB / 0.8191 GB, free: 114.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002751/2.464, allocations: 487.9 kB / 0.8195 GB, free: 113.8 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.0104/2.475, allocations: 2.888 MB / 0.8224 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002872/2.478, allocations: 0.5231 MB / 0.8229 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02306/2.501, allocations: 6.986 MB / 0.8297 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/2.501, allocations: 31.59 kB / 0.8297 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/2.501, allocations: 8 kB / 0.8297 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/2.501, allocations: 15.95 kB / 0.8298 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05227/2.554, allocations: 14.45 MB / 0.8439 GB, free: 88.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.777e-05/2.554, allocations: 8.734 kB / 0.8439 GB, free: 88.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004685/2.558, allocations: 443.6 kB / 0.8443 GB, free: 88.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/2.569, allocations: 2.042 MB / 0.8463 GB, free: 86.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/2.57, allocations: 51.83 kB / 0.8463 GB, free: 86.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03122/2.601, allocations: 13.71 MB / 0.8597 GB, free: 72.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/2.602, allocations: 4 kB / 0.8597 GB, free: 72.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03257/2.634, allocations: 11.05 MB / 0.8705 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/2.637, allocations: 0.6035 MB / 0.8711 GB, free: 60.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003181/2.641, allocations: 44 kB / 0.8712 GB, free: 60.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006693/2.647, allocations: 195.7 kB / 0.8713 GB, free: 60.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/2.649, allocations: 161.7 kB / 0.8715 GB, free: 60.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008849/2.65, allocations: 68 kB / 0.8716 GB, free: 60.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01295/2.663, allocations: 4.057 MB / 0.8755 GB, free: 56.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.264e-06/2.663, allocations: 0 / 0.8755 GB, free: 56.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01603/2.679, allocations: 1.522 MB / 0.877 GB, free: 54.52 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.001508/2.681, allocations: 193 kB / 0.8772 GB, free: 54.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02717/2.708, allocations: 9.909 MB / 0.8869 GB, free: 44.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/2.708, allocations: 0.75 kB / 0.8869 GB, free: 44.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0108/2.719, allocations: 3.497 MB / 0.8903 GB, free: 40.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/2.731, allocations: 0.7077 MB / 0.891 GB, free: 40.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0501/2.781, allocations: 17.67 MB / 0.9082 GB, free: 22.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/2.794, allocations: 4.407 MB / 0.9125 GB, free: 18.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003565/2.797, allocations: 415.4 kB / 0.9129 GB, free: 17.65 MB / 0.545 GB Notification: Performance of SimCode: time 2.214e-06/2.797, allocations: 0 / 0.9129 GB, free: 17.65 MB / 0.545 GB Notification: Performance of Templates: time 0.7789/3.576, allocations: 138.3 MB / 1.048 GB, free: 70.65 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