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.0007995/0.0007995, allocations: 94.64 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009547/0.0009547, allocations: 195 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.4 MB, free: 9.719 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002093/0.0002093, allocations: 8 kB / 307.1 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09386, allocations: 51.52 MB / 358.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2245/0.3184, allocations: 44.69 MB / 403.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02117/0.3396, allocations: 9.77 MB / 413.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007363/0.347, allocations: 212 kB / 413.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005877/0.3529, allocations: 2.334 MB / 415.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.3704, allocations: 6.9 MB / 422.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.3729, allocations: 0.6124 MB / 423.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0412/0.4141, allocations: 32.63 MB / 455.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00746/0.4216, allocations: 4.958 MB / 460.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.424, allocations: 1.261 MB / 462 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.4263, allocations: 1.912 MB / 463.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.4267, allocations: 140 kB / 464 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.4285, allocations: 0.9362 MB / 465 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.4301, allocations: 1.73 MB / 466.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.431, allocations: 0.8427 MB / 467.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.4363, allocations: 5.655 MB / 473.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4363, allocations: 0 / 473.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4363, allocations: 0 / 473.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.4364, allocations: 0 / 473.2 MB, free: 8.352 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.007317/0.4438, allocations: 4.219 MB / 477.4 MB, free: 4.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4438, allocations: 8.031 kB / 477.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/0.4516, allocations: 2.182 MB / 479.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.4562, allocations: 2.674 MB / 482.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4564, allocations: 242.1 kB / 482.5 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005049/0.4569, allocations: 315.9 kB / 482.8 MB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.4721, allocations: 10.44 MB / 493.3 MB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.09e-05/0.4723, allocations: 43.67 kB / 493.3 MB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/0.4726, allocations: 151.9 kB / 493.5 MB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002958/0.4756, allocations: 2.029 MB / 495.5 MB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.4909, allocations: 8.878 MB / 0.4925 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2251/0.716, allocations: 41 MB / 0.5326 GB, free: 138.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.7288, allocations: 4.499 MB / 0.537 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/0.7323, allocations: 2.485 MB / 0.5394 GB, free: 137.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.7443, allocations: 7.347 MB / 0.5466 GB, free: 135.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.7444, allocations: 55.81 kB / 0.5466 GB, free: 135.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 5.169e-06/0.7444, allocations: 0 / 0.5466 GB, free: 135.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04386/0.7883, allocations: 18.63 MB / 0.5648 GB, free: 128.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.7885, allocations: 175.9 kB / 0.565 GB, free: 128 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.7943, allocations: 4.536 MB / 0.5694 GB, free: 125.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00039/0.7947, allocations: 53.7 kB / 0.5695 GB, free: 125.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.7963, allocations: 3.123 MB / 0.5725 GB, free: 122.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006654/0.797, allocations: 0.7586 MB / 0.5733 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7972, allocations: 126.6 kB / 0.5734 GB, free: 121.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.7974, allocations: 0.5667 MB / 0.5739 GB, free: 120.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/0.8002, allocations: 2.359 MB / 0.5762 GB, free: 118.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/0.8039, allocations: 6.058 MB / 0.5822 GB, free: 110.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.808, allocations: 3.703 MB / 0.5858 GB, free: 107 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/0.808, allocations: 36 kB / 0.5858 GB, free: 107 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01736/0.8254, allocations: 9.232 MB / 0.5948 GB, free: 97.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.8256, allocations: 60 kB / 0.5949 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/0.8258, allocations: 136.8 kB / 0.595 GB, free: 97.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/0.8299, allocations: 1.22 MB / 0.5962 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007156/0.837, allocations: 1.427 MB / 0.5976 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.8505, allocations: 6.754 MB / 0.6042 GB, free: 88.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008288/0.8588, allocations: 356.2 kB / 0.6045 GB, free: 87.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009108/0.8598, allocations: 384.7 kB / 0.6049 GB, free: 87.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.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 (763): * Single equations (assignments): 757 * 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 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004875/0.8647, allocations: 2.168 MB / 0.607 GB, free: 85.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/0.8656, allocations: 382.7 kB / 0.6074 GB, free: 84.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.8767, allocations: 4.046 MB / 0.6113 GB, free: 80.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/0.8767, allocations: 25.17 kB / 0.6114 GB, free: 80.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.8768, allocations: 7.953 kB / 0.6114 GB, free: 80.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.8768, allocations: 11.95 kB / 0.6114 GB, free: 80.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/0.9019, allocations: 9.509 MB / 0.6207 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/0.9019, allocations: 8 kB / 0.6207 GB, free: 71.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/0.9047, allocations: 319.5 kB / 0.621 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/0.9095, allocations: 1.025 MB / 0.622 GB, free: 69.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.9097, allocations: 37.06 kB / 0.622 GB, free: 69.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007125/0.9169, allocations: 6.361 MB / 0.6282 GB, free: 63.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.9169, allocations: 11.5 kB / 0.6282 GB, free: 63.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008069/0.925, allocations: 7.019 MB / 0.6351 GB, free: 56.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/0.926, allocations: 467.9 kB / 0.6355 GB, free: 55.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/0.9264, allocations: 38.67 kB / 0.6356 GB, free: 55.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.9278, allocations: 123.8 kB / 0.6357 GB, free: 55.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.928, allocations: 125 kB / 0.6358 GB, free: 55.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.9281, allocations: 56 kB / 0.6359 GB, free: 55.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003535/0.9317, allocations: 2.896 MB / 0.6387 GB, free: 52.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9317, allocations: 0 / 0.6387 GB, free: 52.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00396/0.9357, allocations: 1.053 MB / 0.6397 GB, free: 51.29 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.000342/0.936, allocations: 187.1 kB / 0.6399 GB, free: 51.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006545/0.9426, allocations: 5.74 MB / 0.6455 GB, free: 45.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9426, allocations: 0 / 0.6455 GB, free: 45.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.9451, allocations: 2.057 MB / 0.6475 GB, free: 43.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.9473, allocations: 478 kB / 0.648 GB, free: 42.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.96, allocations: 11.71 MB / 0.6594 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.9628, allocations: 3.36 MB / 0.6627 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004298/0.9672, allocations: 2.027 MB / 0.6647 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/0.9679, allocations: 275.4 kB / 0.6649 GB, free: 25.34 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.9679, allocations: 0 / 0.6649 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Templates: time 0.2225/1.19, allocations: 39.26 MB / 0.7033 GB, free: 139.4 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches