Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 203.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4454, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.0174/0.4628, allocations: 13.65 MB / 0.5443 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.48, allocations: 4.73 MB / 0.5489 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004758/0.4848, allocations: 94.66 kB / 0.549 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008716/0.4936, allocations: 4.463 MB / 0.5534 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.5012, allocations: 2.201 MB / 0.5555 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.5044, allocations: 1.139 MB / 0.5567 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.5146, allocations: 6.342 MB / 0.5628 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008487/0.5231, allocations: 5.554 MB / 0.5683 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.5279, allocations: 2.228 MB / 0.5704 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0052/0.5331, allocations: 2.944 MB / 0.5733 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.5355, allocations: 496 kB / 0.5738 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/0.5399, allocations: 1.49 MB / 0.5753 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004382/0.5443, allocations: 2.681 MB / 0.5779 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00672/0.5511, allocations: 3.065 MB / 0.5809 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.5688, allocations: 9.732 MB / 0.5904 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.5689, allocations: 0 / 0.5904 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.5689, allocations: 11.94 kB / 0.5904 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006662/0.5696, allocations: 0 / 0.5904 GB, free: 4.66 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: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.02323/0.5928, allocations: 6.85 MB / 0.5971 GB, free: 13.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5929, allocations: 9.109 kB / 0.5971 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.6061, allocations: 2.618 MB / 0.5996 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.6176, allocations: 3.891 MB / 0.6034 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003988/0.6181, allocations: 337 kB / 0.6038 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.6205, allocations: 451.9 kB / 0.6042 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03284/0.6533, allocations: 13.99 MB / 0.6179 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003601/0.6538, allocations: 59.53 kB / 0.6179 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002133/0.6559, allocations: 207.8 kB / 0.6181 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005372/0.6613, allocations: 2.535 MB / 0.6206 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03239/0.6937, allocations: 12.14 MB / 0.6324 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08293/0.7767, allocations: 51.77 MB / 0.683 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.7929, allocations: 6.239 MB / 0.6891 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/0.7981, allocations: 3.865 MB / 0.6929 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02543/0.8235, allocations: 13.25 MB / 0.7058 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.311e-05/0.8236, allocations: 56.56 kB / 0.7058 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 6.372e-06/0.8236, allocations: 0 / 0.7058 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.386/1.21, allocations: 29.73 MB / 0.7349 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.21, allocations: 208.4 kB / 0.7351 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/1.217, allocations: 4.964 MB / 0.7399 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008823/1.218, allocations: 68.2 kB / 0.74 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.22, allocations: 3.951 MB / 0.7438 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/1.222, allocations: 1.051 MB / 0.7449 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/1.225, allocations: 1.536 MB / 0.7464 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/1.225, allocations: 301.1 kB / 0.7467 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/1.229, allocations: 3.286 MB / 0.7499 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/1.235, allocations: 7.339 MB / 0.757 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.245, allocations: 11.4 MB / 0.7682 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.246, allocations: 44 kB / 0.7682 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02136/1.267, allocations: 12.53 MB / 0.7804 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/1.267, allocations: 64 kB / 0.7805 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.267, allocations: 140 kB / 0.7806 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/1.272, allocations: 2.249 MB / 0.7828 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0054/1.278, allocations: 1.692 MB / 0.7845 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.292, allocations: 14.4 MB / 0.7985 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007396/1.3, allocations: 442.8 kB / 0.799 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.301, allocations: 431.9 kB / 0.7994 GB, free: 94.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (888): * Single equations (assignments): 883 * 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 {(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.004572/1.306, allocations: 2.68 MB / 0.802 GB, free: 91.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.307, allocations: 480.8 kB / 0.8025 GB, free: 91.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.318, allocations: 6.992 MB / 0.8093 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-05/1.318, allocations: 32 kB / 0.8093 GB, free: 84.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.318, allocations: 8 kB / 0.8093 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.318, allocations: 11.95 kB / 0.8093 GB, free: 84.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.341, allocations: 14.12 MB / 0.8231 GB, free: 70.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/1.341, allocations: 4 kB / 0.8231 GB, free: 70.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.344, allocations: 459.3 kB / 0.8236 GB, free: 69.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/1.348, allocations: 2.023 MB / 0.8255 GB, free: 67.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.349, allocations: 47.98 kB / 0.8256 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.363, allocations: 13.75 MB / 0.839 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.363, allocations: 3.203 kB / 0.839 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.377, allocations: 11.02 MB / 0.8498 GB, free: 42.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.379, allocations: 0.5213 MB / 0.8503 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000906/1.38, allocations: 50.36 kB / 0.8503 GB, free: 42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.382, allocations: 207.6 kB / 0.8505 GB, free: 41.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/1.383, allocations: 157.7 kB / 0.8507 GB, free: 41.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.383, allocations: 64 kB / 0.8508 GB, free: 41.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004346/1.387, allocations: 3.11 MB / 0.8538 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.387, allocations: 0 / 0.8538 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008198/1.396, allocations: 1.441 MB / 0.8552 GB, free: 37.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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 {(4,18,75.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.0007469/1.396, allocations: 186 kB / 0.8554 GB, free: 36.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.407, allocations: 8.054 MB / 0.8632 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.407, allocations: 4.125 kB / 0.8632 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004756/1.412, allocations: 3.44 MB / 0.8666 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.416, allocations: 0.6127 MB / 0.8672 GB, free: 24.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.434, allocations: 13.55 MB / 0.8804 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003716/1.438, allocations: 4.182 MB / 0.8845 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004713/1.443, allocations: 2.297 MB / 0.8868 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.444, allocations: 319.4 kB / 0.8871 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.444, allocations: 0 / 0.8871 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.1004/1.544, allocations: 56.84 MB / 0.9426 GB, free: 11.75 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches