Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 180.3 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 86.69 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2689, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3888, allocations: 99.02 MB / 474.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.389, allocations: 91.95 kB / 474.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4091/0.7982, allocations: 98.12 MB / 0.5596 GB, free: 57.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7982, allocations: 0 / 0.5596 GB, free: 57.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002867/0.7985, allocations: 104 kB / 0.5597 GB, free: 56.94 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02148/0.82, allocations: 5.773 MB / 0.5653 GB, free: 51.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8201, allocations: 8.031 kB / 0.5653 GB, free: 51.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.8307, allocations: 2.321 MB / 0.5676 GB, free: 48.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.8445, allocations: 4.956 MB / 0.5725 GB, free: 43.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.8449, allocations: 394.3 kB / 0.5728 GB, free: 43.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/0.8478, allocations: 0.5115 MB / 0.5733 GB, free: 42.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0312/0.879, allocations: 13.03 MB / 0.586 GB, free: 28.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004126/0.8794, allocations: 67.39 kB / 0.5861 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002735/0.8822, allocations: 259.9 kB / 0.5864 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.8842, allocations: 1.204 MB / 0.5875 GB, free: 27.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.9074, allocations: 11.23 MB / 0.5985 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/1.267, allocations: 57.18 MB / 0.6543 GB, free: 50.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.282, allocations: 5.197 MB / 0.6594 GB, free: 49.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.283, allocations: 0.6863 MB / 0.6601 GB, free: 49.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.283, allocations: 54.91 kB / 0.6601 GB, free: 49.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 4.779e-06/1.283, allocations: 0 / 0.6601 GB, free: 49.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.06988/1.353, allocations: 25.66 MB / 0.6852 GB, free: 45.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/1.353, allocations: 164.1 kB / 0.6853 GB, free: 45.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007648/1.361, allocations: 4.108 MB / 0.6894 GB, free: 45.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000619/1.361, allocations: 63.16 kB / 0.6894 GB, free: 45.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/1.363, allocations: 3.587 MB / 0.6929 GB, free: 43.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.365, allocations: 0.9518 MB / 0.6939 GB, free: 42.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/1.365, allocations: 136.8 kB / 0.694 GB, free: 42.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/1.365, allocations: 0.5977 MB / 0.6946 GB, free: 42.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/1.37, allocations: 3.058 MB / 0.6976 GB, free: 41.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/1.376, allocations: 7.101 MB / 0.7045 GB, free: 35.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/1.383, allocations: 4.557 MB / 0.7089 GB, free: 34.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/1.383, allocations: 42.88 kB / 0.709 GB, free: 34.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02357/1.407, allocations: 11.01 MB / 0.7197 GB, free: 30.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003576/1.407, allocations: 71.75 kB / 0.7198 GB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004284/1.408, allocations: 144 kB / 0.7199 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/1.411, allocations: 1.134 MB / 0.721 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.418, allocations: 1.735 MB / 0.7227 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/1.425, allocations: 6.045 MB / 0.7286 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006823/1.432, allocations: 433 kB / 0.7291 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/1.434, allocations: 431.6 kB / 0.7295 GB, free: 22.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * Number of states: 0 () * Number of discrete variables: 42 (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 (873): * Single equations (assignments): 869 * 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.007623/1.442, allocations: 2.447 MB / 0.7319 GB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/1.444, allocations: 417.3 kB / 0.7323 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.456, allocations: 5.599 MB / 0.7377 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/1.456, allocations: 28 kB / 0.7377 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/1.457, allocations: 7.953 kB / 0.7378 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.727e-05/1.457, allocations: 9.516 kB / 0.7378 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02967/1.486, allocations: 12.22 MB / 0.7497 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.486, allocations: 4 kB / 0.7497 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.489, allocations: 0.513 MB / 0.7502 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/1.492, allocations: 0.9312 MB / 0.7511 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005826/1.492, allocations: 51.11 kB / 0.7512 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007515/1.5, allocations: 5.816 MB / 0.7568 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.5, allocations: 4 kB / 0.7568 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.519, allocations: 9.857 MB / 0.7665 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003531/1.523, allocations: 0.9094 MB / 0.7674 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/1.525, allocations: 44 kB / 0.7674 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/1.528, allocations: 176.6 kB / 0.7676 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008734/1.529, allocations: 159.9 kB / 0.7677 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005464/1.53, allocations: 68 kB / 0.7678 GB, free: 3.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007256/1.537, allocations: 2.88 MB / 0.7706 GB, free: 1.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.537, allocations: 4 kB / 0.7706 GB, free: 1.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01026/1.547, allocations: 1.27 MB / 0.7718 GB, free: 15.83 MB / 442.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 (225): * Single equations (assignments): 221 * 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.001524/1.549, allocations: 190.1 kB / 0.772 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01515/1.564, allocations: 7.306 MB / 0.7792 GB, free: 8.359 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.564, allocations: 4 kB / 0.7792 GB, free: 8.355 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005725/1.57, allocations: 2.744 MB / 0.7818 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/1.574, allocations: 459.7 kB / 0.7823 GB, free: 5.168 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/1.607, allocations: 14.08 MB / 0.796 GB, free: 7.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008954/1.616, allocations: 3.914 MB / 0.7998 GB, free: 3.148 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008512/1.625, allocations: 2.321 MB / 0.8021 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.626, allocations: 326.5 kB / 0.8024 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of SimCode: time 1.754e-06/1.626, allocations: 0 / 0.8024 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of Templates: time 0.3531/1.98, allocations: 47.6 MB / 0.8489 GB, free: 130.6 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches