Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009622/0.0009622, allocations: 107.4 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 55.86 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2038, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05047/0.2543, allocations: 65.57 MB / 472.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.2807, allocations: 12.98 MB / 485.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01123/0.292, allocations: 283.3 kB / 485.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007215/0.2993, allocations: 3.701 MB / 489.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.3042, allocations: 1.884 MB / 491.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.306, allocations: 0.6163 MB / 492.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006891/0.3129, allocations: 6.336 MB / 498.4 MB, free: 116 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005982/0.3189, allocations: 4.718 MB / 0.4914 GB, free: 11.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.3218, allocations: 1.651 MB / 0.493 GB, free: 9.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.3257, allocations: 2.64 MB / 0.4955 GB, free: 7.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.327, allocations: 307.9 kB / 0.4958 GB, free: 6.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.3297, allocations: 1.077 MB / 0.4969 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.3321, allocations: 2.151 MB / 0.499 GB, free: 3.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003225/0.3353, allocations: 2.543 MB / 0.5015 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2151/0.5505, allocations: 7.862 MB / 0.5092 GB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5505, allocations: 0 / 0.5092 GB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5505, allocations: 0 / 0.5092 GB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004049/0.551, allocations: 0 / 0.5092 GB, free: 12.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02309/0.5741, allocations: 6.269 MB / 0.5153 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5741, allocations: 7.625 kB / 0.5153 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007501/0.5816, allocations: 1.987 MB / 0.5172 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00729/0.5889, allocations: 2.617 MB / 0.5198 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.5893, allocations: 295.5 kB / 0.5201 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.5914, allocations: 401.8 kB / 0.5204 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.6154, allocations: 12.36 MB / 0.5325 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.6156, allocations: 43.84 kB / 0.5326 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006034/0.6162, allocations: 190.9 kB / 0.5327 GB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.6201, allocations: 2.256 MB / 0.5349 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.6414, allocations: 11.3 MB / 0.546 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06471/0.7061, allocations: 47 MB / 0.5919 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/0.7233, allocations: 5.342 MB / 0.5971 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/0.7276, allocations: 3.307 MB / 0.6003 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.7283, allocations: 384.9 kB / 0.6007 GB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.7283, allocations: 62.3 kB / 0.6007 GB, free: 9.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 4.589e-06/0.7283, allocations: 0 / 0.6007 GB, free: 9.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.07376/0.8021, allocations: 26.8 MB / 0.6269 GB, free: 14.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.8022, allocations: 165.5 kB / 0.6271 GB, free: 13.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006426/0.8087, allocations: 4.494 MB / 0.6315 GB, free: 9.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007198/0.8094, allocations: 61.7 kB / 0.6315 GB, free: 9.414 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/0.8116, allocations: 3.473 MB / 0.6349 GB, free: 5.957 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/0.813, allocations: 0.8748 MB / 0.6358 GB, free: 5.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.815, allocations: 1.45 MB / 0.6372 GB, free: 3.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.8151, allocations: 305.1 kB / 0.6375 GB, free: 3.328 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/0.8195, allocations: 3.289 MB / 0.6407 GB, free: 36 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007026/0.8266, allocations: 7.244 MB / 0.6478 GB, free: 6.906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/0.8399, allocations: 11.33 MB / 0.6588 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.8401, allocations: 43 kB / 0.6589 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02067/0.8607, allocations: 11.43 MB / 0.67 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.105e-05/0.8609, allocations: 66.72 kB / 0.6701 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/0.861, allocations: 139.8 kB / 0.6702 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.8639, allocations: 1.124 MB / 0.6713 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006569/0.8705, allocations: 1.732 MB / 0.673 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/0.8786, allocations: 6.012 MB / 0.6789 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/0.8849, allocations: 407.5 kB / 0.6793 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/0.8865, allocations: 451.8 kB / 0.6797 GB, free: 5.719 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (837): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005344/0.8919, allocations: 2.355 MB / 0.682 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/0.8931, allocations: 406.7 kB / 0.6824 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2017/1.095, allocations: 6.105 MB / 0.6883 GB, free: 217.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/1.095, allocations: 26.39 kB / 0.6884 GB, free: 217.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.095, allocations: 3.656 kB / 0.6884 GB, free: 217.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/1.095, allocations: 15.75 kB / 0.6884 GB, free: 217.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.118, allocations: 12.91 MB / 0.701 GB, free: 213.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.118, allocations: 3.938 kB / 0.701 GB, free: 213.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/1.121, allocations: 0.534 MB / 0.7015 GB, free: 213.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/1.123, allocations: 0.9422 MB / 0.7024 GB, free: 213.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/1.123, allocations: 89.33 kB / 0.7025 GB, free: 213.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/1.13, allocations: 5.719 MB / 0.7081 GB, free: 210.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.13, allocations: 6.875 kB / 0.7081 GB, free: 210.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06744/1.197, allocations: 46.38 MB / 0.7534 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/1.2, allocations: 0.8864 MB / 0.7543 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/1.201, allocations: 40.94 kB / 0.7543 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.203, allocations: 159.7 kB / 0.7545 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.203, allocations: 179.7 kB / 0.7546 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.203, allocations: 103.9 kB / 0.7547 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003831/1.207, allocations: 2.834 MB / 0.7575 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.207, allocations: 0 / 0.7575 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006427/1.214, allocations: 1.562 MB / 0.759 GB, free: 161.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005848/1.214, allocations: 192.9 kB / 0.7592 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009457/1.224, allocations: 7.727 MB / 0.7668 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.224, allocations: 0 / 0.7668 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/1.227, allocations: 2.965 MB / 0.7697 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.23, allocations: 485.8 kB / 0.7701 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.25, allocations: 15.97 MB / 0.7857 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/1.254, allocations: 3.752 MB / 0.7894 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005237/1.259, allocations: 2.32 MB / 0.7917 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.26, allocations: 427.1 kB / 0.7921 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.26, allocations: 0 / 0.7921 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.09347/1.354, allocations: 64.25 MB / 0.8548 GB, free: 64.07 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches