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.001618/0.001618, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002485/0.002485, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, 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.2388/0.2388, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4373, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01725/0.4546, allocations: 13.66 MB / 0.5443 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4669, allocations: 4.725 MB / 0.549 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.4701, allocations: 91.72 kB / 0.549 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007925/0.4781, allocations: 4.456 MB / 0.5534 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.4853, allocations: 2.26 MB / 0.5556 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.4883, allocations: 1.146 MB / 0.5567 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.4997, allocations: 6.346 MB / 0.5629 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009274/0.509, allocations: 5.551 MB / 0.5683 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.5144, allocations: 2.228 MB / 0.5705 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00604/0.5204, allocations: 2.952 MB / 0.5734 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.5227, allocations: 496 kB / 0.5739 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.5273, allocations: 1.502 MB / 0.5753 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004579/0.5319, allocations: 2.704 MB / 0.578 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006641/0.5386, allocations: 3.065 MB / 0.581 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.553, allocations: 9.71 MB / 0.5905 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.553, allocations: 0 / 0.5905 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.553, allocations: 4 kB / 0.5905 GB, free: 4.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003923/0.5534, allocations: 0 / 0.5905 GB, free: 4.602 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.01941/0.5729, allocations: 6.672 MB / 0.597 GB, free: 13.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5729, allocations: 9.109 kB / 0.597 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.5845, allocations: 2.579 MB / 0.5995 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.5953, allocations: 3.885 MB / 0.6033 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.5956, allocations: 333 kB / 0.6036 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/0.5977, allocations: 459.8 kB / 0.6041 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.6282, allocations: 13.99 MB / 0.6177 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004638/0.6287, allocations: 63.44 kB / 0.6178 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/0.631, allocations: 207.8 kB / 0.618 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004863/0.6358, allocations: 2.535 MB / 0.6204 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/0.6621, allocations: 12.14 MB / 0.6323 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07415/0.7363, allocations: 51.66 MB / 0.6827 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.7526, allocations: 6.24 MB / 0.6888 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005071/0.7577, allocations: 3.855 MB / 0.6926 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02388/0.7816, allocations: 13.23 MB / 0.7055 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/0.7817, allocations: 64.5 kB / 0.7056 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 6.262e-06/0.7817, allocations: 0 / 0.7056 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.491/1.273, allocations: 29.43 MB / 0.7343 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.273, allocations: 215.6 kB / 0.7345 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006642/1.28, allocations: 4.951 MB / 0.7394 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007596/1.28, allocations: 65.02 kB / 0.7394 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.282, allocations: 3.798 MB / 0.7431 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.283, allocations: 1.015 MB / 0.7441 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.285, allocations: 1.513 MB / 0.7456 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/1.285, allocations: 309.1 kB / 0.7459 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.289, allocations: 3.284 MB / 0.7491 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/1.294, allocations: 7.347 MB / 0.7563 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.305, allocations: 11.39 MB / 0.7674 GB, free: 127 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.168e-05/1.305, allocations: 40 kB / 0.7675 GB, free: 127 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01902/1.324, allocations: 12.5 MB / 0.7797 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/1.324, allocations: 64 kB / 0.7797 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.324, allocations: 140 kB / 0.7799 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004983/1.329, allocations: 2.249 MB / 0.7821 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/1.335, allocations: 1.692 MB / 0.7837 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.351, allocations: 14.37 MB / 0.7977 GB, free: 95.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.358, allocations: 447 kB / 0.7982 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.359, allocations: 431.9 kB / 0.7986 GB, free: 94.8 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.005111/1.364, allocations: 2.685 MB / 0.8012 GB, free: 92.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.365, allocations: 450.2 kB / 0.8016 GB, free: 91.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.376, allocations: 6.996 MB / 0.8085 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.023e-05/1.376, allocations: 31.56 kB / 0.8085 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/1.376, allocations: 11.38 kB / 0.8085 GB, free: 84.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/1.376, allocations: 11.95 kB / 0.8085 GB, free: 84.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/1.4, allocations: 14.13 MB / 0.8223 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.4, allocations: 0 / 0.8223 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.402, allocations: 455.3 kB / 0.8227 GB, free: 70.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004822/1.407, allocations: 2.031 MB / 0.8247 GB, free: 67.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.408, allocations: 51.73 kB / 0.8248 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/1.422, allocations: 13.74 MB / 0.8382 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.422, allocations: 4 kB / 0.8382 GB, free: 53.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.436, allocations: 10.99 MB / 0.8489 GB, free: 42.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.438, allocations: 0.5004 MB / 0.8494 GB, free: 42.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/1.438, allocations: 55.78 kB / 0.8495 GB, free: 42.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.44, allocations: 207.7 kB / 0.8497 GB, free: 42.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005651/1.441, allocations: 157.7 kB / 0.8498 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.441, allocations: 64 kB / 0.8499 GB, free: 41.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004155/1.445, allocations: 3.114 MB / 0.8529 GB, free: 38.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.445, allocations: 0 / 0.8529 GB, free: 38.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007178/1.452, allocations: 1.432 MB / 0.8543 GB, free: 37.33 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.0005901/1.453, allocations: 183.6 kB / 0.8545 GB, free: 37.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.463, allocations: 8.047 MB / 0.8624 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.463, allocations: 384 / 0.8624 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/1.468, allocations: 3.437 MB / 0.8657 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.472, allocations: 0.623 MB / 0.8663 GB, free: 25.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.491, allocations: 13.36 MB / 0.8794 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003988/1.495, allocations: 4.185 MB / 0.8835 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004699/1.499, allocations: 2.297 MB / 0.8857 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.501, allocations: 319.4 kB / 0.886 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.501, allocations: 0 / 0.886 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of Templates: time 0.1014/1.602, allocations: 56.84 MB / 0.9415 GB, free: 12.27 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