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.001704/0.001704, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002425, allocations: 79.86 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1446, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01766/0.1623, allocations: 13.66 MB / 493.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.1744, allocations: 4.719 MB / 498.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.1777, allocations: 87.75 kB / 498.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00903/0.1868, allocations: 4.466 MB / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00778/0.1946, allocations: 2.198 MB / 0.4934 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.198, allocations: 1.146 MB / 0.4945 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.2085, allocations: 6.331 MB / 0.5007 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2997/0.5082, allocations: 5.556 MB / 0.5061 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006865/0.5151, allocations: 2.221 MB / 0.5083 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007967/0.5232, allocations: 2.933 MB / 0.5112 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003717/0.5269, allocations: 497.6 kB / 0.5116 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.5332, allocations: 1.498 MB / 0.5131 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006731/0.54, allocations: 2.684 MB / 0.5157 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.5517, allocations: 3.061 MB / 0.5187 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.57, allocations: 9.427 MB / 0.5279 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.57, allocations: 0 / 0.5279 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.57, allocations: 0.7188 kB / 0.5279 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005516/0.5706, allocations: 0 / 0.5279 GB, free: 10.07 MB / 382.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.02556/0.5961, allocations: 6.684 MB / 0.5344 GB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.5962, allocations: 8.703 kB / 0.5345 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.6085, allocations: 2.578 MB / 0.537 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.6198, allocations: 3.812 MB / 0.5407 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.6203, allocations: 331.1 kB / 0.541 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/0.6234, allocations: 456.6 kB / 0.5414 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.6571, allocations: 13.99 MB / 0.5551 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.6573, allocations: 64.08 kB / 0.5552 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008269/0.6582, allocations: 209.2 kB / 0.5554 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004902/0.6631, allocations: 2.535 MB / 0.5578 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/0.6929, allocations: 12.13 MB / 0.5697 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08618/0.7791, allocations: 51.94 MB / 0.6204 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.7967, allocations: 6.23 MB / 0.6265 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005876/0.8026, allocations: 3.861 MB / 0.6303 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02355/0.8262, allocations: 13.23 MB / 0.6432 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.8263, allocations: 64.03 kB / 0.6433 GB, free: 11.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 4.659e-06/0.8263, allocations: 0 / 0.6433 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=270): time 0.09608/0.9224, allocations: 29.42 MB / 0.672 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.9226, allocations: 212.6 kB / 0.6722 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/0.9329, allocations: 4.958 MB / 0.677 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/0.9345, allocations: 61.7 kB / 0.6771 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004601/0.9391, allocations: 3.801 MB / 0.6808 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002505/0.9416, allocations: 1.013 MB / 0.6818 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002893/0.9445, allocations: 1.51 MB / 0.6833 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9447, allocations: 305.1 kB / 0.6836 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006645/0.9514, allocations: 3.287 MB / 0.6868 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/0.9628, allocations: 7.344 MB / 0.6939 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01937/0.9822, allocations: 11.4 MB / 0.7051 GB, free: 8.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/0.9824, allocations: 40 kB / 0.7051 GB, free: 8.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.3528/1.335, allocations: 12.49 MB / 0.7173 GB, free: 185 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.335, allocations: 65.31 kB / 0.7174 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002609/1.336, allocations: 141.4 kB / 0.7175 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/1.342, allocations: 2.252 MB / 0.7197 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/1.348, allocations: 1.693 MB / 0.7214 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/1.365, allocations: 14.4 MB / 0.7354 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006136/1.371, allocations: 441.7 kB / 0.7358 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.373, allocations: 436.6 kB / 0.7363 GB, free: 178.5 MB / 0.545 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.004893/1.377, allocations: 2.682 MB / 0.7389 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/1.378, allocations: 442.4 kB / 0.7393 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.389, allocations: 7.012 MB / 0.7461 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/1.389, allocations: 30.17 kB / 0.7462 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.389, allocations: 7.938 kB / 0.7462 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.389, allocations: 14.89 kB / 0.7462 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.413, allocations: 14.34 MB / 0.7602 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.413, allocations: 0.625 kB / 0.7602 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.415, allocations: 455.3 kB / 0.7606 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004578/1.419, allocations: 2.038 MB / 0.7626 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/1.42, allocations: 47.98 kB / 0.7627 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.434, allocations: 13.65 MB / 0.776 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.434, allocations: 3.938 kB / 0.776 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.448, allocations: 10.97 MB / 0.7867 GB, free: 140.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.449, allocations: 0.4922 MB / 0.7872 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/1.45, allocations: 47.94 kB / 0.7873 GB, free: 139.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.452, allocations: 209.2 kB / 0.7875 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/1.453, allocations: 153.8 kB / 0.7876 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.453, allocations: 67.98 kB / 0.7877 GB, free: 139.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003876/1.457, allocations: 3.11 MB / 0.7907 GB, free: 136.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.457, allocations: 3.938 kB / 0.7907 GB, free: 136.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006231/1.463, allocations: 1.437 MB / 0.7921 GB, free: 134.9 MB / 0.545 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.000571/1.464, allocations: 181.3 kB / 0.7923 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01533/1.479, allocations: 11.25 MB / 0.8033 GB, free: 123.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.479, allocations: 0 / 0.8033 GB, free: 123.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004666/1.484, allocations: 3.428 MB / 0.8066 GB, free: 120 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.487, allocations: 0.6349 MB / 0.8072 GB, free: 119.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.507, allocations: 13.51 MB / 0.8204 GB, free: 105.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.511, allocations: 4.194 MB / 0.8245 GB, free: 101.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004894/1.516, allocations: 2.293 MB / 0.8268 GB, free: 99.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009924/1.517, allocations: 323.4 kB / 0.8271 GB, free: 99.04 MB / 0.545 GB Notification: Performance of SimCode: time 1.403e-06/1.517, allocations: 3.938 kB / 0.8271 GB, free: 99.04 MB / 0.545 GB Notification: Performance of Templates: time 0.09364/1.611, allocations: 60.6 MB / 0.8863 GB, free: 38.7 MB / 0.545 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