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.001099/0.001099, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008482/0.0008482, allocations: 93.34 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3202, allocations: 100.7 MB / 0.4981 GB, free: 5.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3205, allocations: 91.95 kB / 0.4982 GB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3781/0.6986, allocations: 95.98 MB / 0.5919 GB, free: 18.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6987, allocations: 0 / 0.5919 GB, free: 18.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003181/0.699, allocations: 100 kB / 0.592 GB, free: 18.03 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.02147/0.7205, allocations: 5.698 MB / 0.5976 GB, free: 12.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7205, allocations: 8.031 kB / 0.5976 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.7303, allocations: 2.321 MB / 0.5999 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.7418, allocations: 4.195 MB / 0.604 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.7423, allocations: 377.9 kB / 0.6043 GB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/0.7452, allocations: 499.7 kB / 0.6048 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02871/0.7739, allocations: 12.57 MB / 0.6171 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/0.7743, allocations: 75.28 kB / 0.6171 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.7762, allocations: 239.9 kB / 0.6174 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.778, allocations: 1.137 MB / 0.6185 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/0.8019, allocations: 10.8 MB / 0.629 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2853/1.087, allocations: 55.54 MB / 0.6833 GB, free: 55.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.101, allocations: 4.992 MB / 0.6881 GB, free: 55.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.102, allocations: 0.6805 MB / 0.6888 GB, free: 54.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.102, allocations: 57.42 kB / 0.6889 GB, free: 54.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 4.919e-06/1.102, allocations: 0 / 0.6889 GB, free: 54.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.05507/1.157, allocations: 24.42 MB / 0.7127 GB, free: 50.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.157, allocations: 155.1 kB / 0.7129 GB, free: 50.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/1.164, allocations: 4.012 MB / 0.7168 GB, free: 50.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.164, allocations: 55.95 kB / 0.7168 GB, free: 50.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.166, allocations: 3.48 MB / 0.7202 GB, free: 48.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/1.167, allocations: 0.8779 MB / 0.7211 GB, free: 48.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/1.167, allocations: 134.8 kB / 0.7212 GB, free: 48.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00044/1.168, allocations: 0.5836 MB / 0.7218 GB, free: 47.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.172, allocations: 2.889 MB / 0.7246 GB, free: 47.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/1.177, allocations: 6.823 MB / 0.7313 GB, free: 42.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004736/1.181, allocations: 4.338 MB / 0.7355 GB, free: 40.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.985e-05/1.181, allocations: 41.03 kB / 0.7355 GB, free: 40.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01364/1.195, allocations: 10.55 MB / 0.7458 GB, free: 37.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.195, allocations: 70.38 kB / 0.7459 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.195, allocations: 138.9 kB / 0.746 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/1.198, allocations: 1.132 MB / 0.7471 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/1.203, allocations: 1.669 MB / 0.7488 GB, free: 37.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/1.209, allocations: 6.031 MB / 0.7547 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/1.213, allocations: 419.5 kB / 0.7551 GB, free: 33.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/1.214, allocations: 418.1 kB / 0.7555 GB, free: 32.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (835): * Single equations (assignments): 831 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003381/1.217, allocations: 2.353 MB / 0.7578 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007427/1.218, allocations: 406.6 kB / 0.7581 GB, free: 30.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007648/1.225, allocations: 5.221 MB / 0.7632 GB, free: 26.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.225, allocations: 27.95 kB / 0.7633 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.226, allocations: 4 kB / 0.7633 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.226, allocations: 11.34 kB / 0.7633 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.244, allocations: 11.51 MB / 0.7745 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.244, allocations: 6.406 kB / 0.7745 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.246, allocations: 468.3 kB / 0.775 GB, free: 16.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/1.248, allocations: 0.934 MB / 0.7759 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.248, allocations: 47.28 kB / 0.7759 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/1.254, allocations: 5.753 MB / 0.7816 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.254, allocations: 4 kB / 0.7816 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.265, allocations: 9.261 MB / 0.7906 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.268, allocations: 0.8636 MB / 0.7915 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/1.269, allocations: 40 kB / 0.7915 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.271, allocations: 166.9 kB / 0.7916 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.271, allocations: 144.8 kB / 0.7918 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.272, allocations: 64.3 kB / 0.7918 GB, free: 1.625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005287/1.277, allocations: 2.855 MB / 0.7946 GB, free: 15.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.277, allocations: 4 kB / 0.7946 GB, free: 15.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005794/1.283, allocations: 1.211 MB / 0.7958 GB, free: 14.21 MB / 458.7 MB 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 (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,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000569/1.283, allocations: 203.8 kB / 0.796 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.294, allocations: 6.915 MB / 0.8028 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.294, allocations: 0 / 0.8028 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/1.298, allocations: 2.56 MB / 0.8053 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.301, allocations: 450.1 kB / 0.8057 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/1.327, allocations: 13.41 MB / 0.8188 GB, free: 7.801 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/1.332, allocations: 3.764 MB / 0.8225 GB, free: 4.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005488/1.337, allocations: 2.231 MB / 0.8247 GB, free: 1.793 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.339, allocations: 303.3 kB / 0.8249 GB, free: 1.496 MB / 474.7 MB Notification: Performance of SimCode: time 8.22e-07/1.339, allocations: 0 / 0.8249 GB, free: 1.496 MB / 474.7 MB Notification: Performance of Templates: time 0.2701/1.609, allocations: 45.89 MB / 0.8697 GB, free: 136.7 MB / 0.4948 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/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