Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 95.77 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 205.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 7.984 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2426/0.3587, allocations: 48.75 MB / 406.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03605/0.3948, allocations: 11.59 MB / 418.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0141/0.409, allocations: 239.4 kB / 418.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.4194, allocations: 2.453 MB / 421.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02641/0.4458, allocations: 7.064 MB / 428.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.4489, allocations: 0.6046 MB / 428.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03588/0.4848, allocations: 25.13 MB / 453.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00703/0.4919, allocations: 4.953 MB / 458.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.4937, allocations: 1.059 MB / 459.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.4953, allocations: 1.331 MB / 461.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.4957, allocations: 151.9 kB / 461.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4973, allocations: 0.9051 MB / 462.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.4988, allocations: 1.672 MB / 464 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008589/0.4997, allocations: 0.8817 MB / 464.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.5058, allocations: 5.915 MB / 470.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5058, allocations: 0 / 470.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5058, allocations: 0 / 470.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.5061, allocations: 0 / 470.8 MB, free: 10.75 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: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01022/0.5163, allocations: 4.554 MB / 475.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5164, allocations: 8.031 kB / 475.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0263/0.5427, allocations: 5.076 MB / 480.4 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/0.55, allocations: 2.815 MB / 483.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.5503, allocations: 250.3 kB / 483.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009866/0.5513, allocations: 335.8 kB / 483.8 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.5701, allocations: 10.89 MB / 494.7 MB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.5703, allocations: 39.69 kB / 494.7 MB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/0.5707, allocations: 155.8 kB / 494.9 MB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003589/0.5743, allocations: 2.15 MB / 497 MB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.593, allocations: 9.242 MB / 0.4944 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3059/0.8989, allocations: 41.76 MB / 0.5352 GB, free: 122.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.9119, allocations: 4.573 MB / 0.5396 GB, free: 121.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/0.9287, allocations: 7.292 MB / 0.5468 GB, free: 119.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.9288, allocations: 49.94 kB / 0.5468 GB, free: 119.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.669e-06/0.9288, allocations: 0 / 0.5468 GB, free: 119.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04347/0.9722, allocations: 18.66 MB / 0.565 GB, free: 112.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.9723, allocations: 175.2 kB / 0.5652 GB, free: 112.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/0.9772, allocations: 4.719 MB / 0.5698 GB, free: 109.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.9774, allocations: 51.86 kB / 0.5698 GB, free: 109.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.9787, allocations: 3.229 MB / 0.573 GB, free: 106.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004805/0.9792, allocations: 0.7561 MB / 0.5737 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.9794, allocations: 120.9 kB / 0.5739 GB, free: 106 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.9797, allocations: 0.5741 MB / 0.5744 GB, free: 105.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.9822, allocations: 2.257 MB / 0.5766 GB, free: 103.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.9857, allocations: 5.956 MB / 0.5824 GB, free: 95.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.9894, allocations: 3.601 MB / 0.5859 GB, free: 92.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.661e-05/0.9894, allocations: 38.62 kB / 0.586 GB, free: 92.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01133/1.001, allocations: 8.79 MB / 0.5946 GB, free: 83.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/1.001, allocations: 60 kB / 0.5946 GB, free: 83.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-05/1.001, allocations: 135.9 kB / 0.5948 GB, free: 83.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/1.003, allocations: 0.9703 MB / 0.5957 GB, free: 82.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.007, allocations: 1.423 MB / 0.5971 GB, free: 80.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00649/1.013, allocations: 6.253 MB / 0.6032 GB, free: 74.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/1.018, allocations: 348.6 kB / 0.6035 GB, free: 74.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/1.018, allocations: 377.3 kB / 0.6039 GB, free: 73.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 744 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002778/1.021, allocations: 2.226 MB / 0.6061 GB, free: 71.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/1.022, allocations: 394.9 kB / 0.6064 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005468/1.027, allocations: 3.684 MB / 0.61 GB, free: 67.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/1.027, allocations: 24 kB / 0.6101 GB, free: 67.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.027, allocations: 4 kB / 0.6101 GB, free: 67.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.027, allocations: 7.969 kB / 0.6101 GB, free: 67.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.042, allocations: 9.253 MB / 0.6191 GB, free: 58.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.042, allocations: 8 kB / 0.6191 GB, free: 58.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.043, allocations: 320.1 kB / 0.6194 GB, free: 57.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.045, allocations: 0.7733 MB / 0.6202 GB, free: 56.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.045, allocations: 43.98 kB / 0.6202 GB, free: 56.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/1.051, allocations: 5.779 MB / 0.6259 GB, free: 50.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.051, allocations: 12.28 kB / 0.6259 GB, free: 50.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/1.058, allocations: 7.335 MB / 0.633 GB, free: 43.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009455/1.059, allocations: 479.8 kB / 0.6335 GB, free: 42.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/1.06, allocations: 36.86 kB / 0.6335 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.061, allocations: 112.7 kB / 0.6336 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.061, allocations: 133.6 kB / 0.6338 GB, free: 42.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.061, allocations: 56.62 kB / 0.6338 GB, free: 42.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003564/1.065, allocations: 3.035 MB / 0.6368 GB, free: 39.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.065, allocations: 0 / 0.6368 GB, free: 39.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004485/1.069, allocations: 1.069 MB / 0.6378 GB, free: 38.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003929/1.07, allocations: 184.5 kB / 0.638 GB, free: 38.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006481/1.076, allocations: 5.503 MB / 0.6434 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.076, allocations: 0 / 0.6434 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.079, allocations: 1.966 MB / 0.6453 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.081, allocations: 483.1 kB / 0.6458 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.095, allocations: 11.81 MB / 0.6573 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/1.099, allocations: 3.55 MB / 0.6608 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004338/1.103, allocations: 2.049 MB / 0.6628 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/1.104, allocations: 263.4 kB / 0.663 GB, free: 12.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.104, allocations: 0 / 0.663 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Templates: time 0.06675/1.17, allocations: 39.49 MB / 0.7016 GB, free: 5.188 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches