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.0008884/0.0008884, allocations: 178.9 kB / 18.04 MB, free: 3.66 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.281/1.281, allocations: 205.4 MB / 224.2 MB, free: 8.934 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.0007351/0.0007351, allocations: 80.17 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3132, allocations: 99.17 MB / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.3136, allocations: 95.95 kB / 476.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3801/0.6937, allocations: 97.07 MB / 0.5599 GB, free: 57.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6937, allocations: 0 / 0.5599 GB, free: 57.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002842/0.694, allocations: 100 kB / 0.56 GB, free: 57.59 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.01804/0.7121, allocations: 5.536 MB / 0.5654 GB, free: 51.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7121, allocations: 8.031 kB / 0.5654 GB, free: 51.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009722/0.7219, allocations: 2.283 MB / 0.5677 GB, free: 49.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008426/0.7303, allocations: 3.903 MB / 0.5715 GB, free: 45.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.7307, allocations: 395.4 kB / 0.5719 GB, free: 45.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.7329, allocations: 0.5154 MB / 0.5724 GB, free: 44.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.758, allocations: 12.96 MB / 0.585 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/0.7583, allocations: 71.25 kB / 0.5851 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/0.7602, allocations: 255.9 kB / 0.5853 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.7619, allocations: 1.196 MB / 0.5865 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.7819, allocations: 11.13 MB / 0.5974 GB, free: 18.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2626/1.045, allocations: 57.14 MB / 0.6532 GB, free: 51.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/1.058, allocations: 5.122 MB / 0.6582 GB, free: 51.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/1.062, allocations: 3.228 MB / 0.6613 GB, free: 51.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.063, allocations: 0.6816 MB / 0.662 GB, free: 50.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/1.063, allocations: 62.56 kB / 0.662 GB, free: 50.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 5.991e-06/1.063, allocations: 0 / 0.662 GB, free: 50.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.05963/1.123, allocations: 25.14 MB / 0.6866 GB, free: 47.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.123, allocations: 158.4 kB / 0.6868 GB, free: 47.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/1.129, allocations: 4.603 MB / 0.6912 GB, free: 46.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004713/1.13, allocations: 63.08 kB / 0.6913 GB, free: 46.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.131, allocations: 3.593 MB / 0.6948 GB, free: 44.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008624/1.132, allocations: 0.9487 MB / 0.6957 GB, free: 43.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/1.133, allocations: 137.7 kB / 0.6959 GB, free: 43.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002826/1.133, allocations: 0.6035 MB / 0.6965 GB, free: 43.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.137, allocations: 3.055 MB / 0.6994 GB, free: 42.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006208/1.143, allocations: 7.131 MB / 0.7064 GB, free: 35.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.155, allocations: 11.03 MB / 0.7172 GB, free: 28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/1.155, allocations: 40.38 kB / 0.7172 GB, free: 28 MB / 410.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01977/1.175, allocations: 11.01 MB / 0.728 GB, free: 20.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.175, allocations: 68 kB / 0.728 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000255/1.175, allocations: 147 kB / 0.7282 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/1.178, allocations: 1.118 MB / 0.7293 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00589/1.184, allocations: 1.745 MB / 0.731 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/1.19, allocations: 5.933 MB / 0.7368 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.196, allocations: 433.7 kB / 0.7372 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.198, allocations: 434.8 kB / 0.7376 GB, free: 12.21 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.00539/1.203, allocations: 2.447 MB / 0.74 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.205, allocations: 410.7 kB / 0.7404 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009605/1.214, allocations: 5.596 MB / 0.7458 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/1.214, allocations: 35.59 kB / 0.7459 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.214, allocations: 7.281 kB / 0.7459 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/1.214, allocations: 14.11 kB / 0.7459 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.238, allocations: 12.22 MB / 0.7578 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.238, allocations: 4 kB / 0.7578 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/1.241, allocations: 0.5033 MB / 0.7583 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/1.244, allocations: 0.9451 MB / 0.7592 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/1.244, allocations: 47.61 kB / 0.7593 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/1.251, allocations: 5.648 MB / 0.7648 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.251, allocations: 8 kB / 0.7648 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.266, allocations: 9.479 MB / 0.7741 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.268, allocations: 0.9094 MB / 0.775 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.27, allocations: 47.12 kB / 0.775 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/1.272, allocations: 179.8 kB / 0.7752 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/1.273, allocations: 157.7 kB / 0.7753 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.273, allocations: 68.92 kB / 0.7754 GB, free: 9.543 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006416/1.279, allocations: 2.88 MB / 0.7782 GB, free: 6.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.279, allocations: 4 kB / 0.7782 GB, free: 6.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007632/1.287, allocations: 1.259 MB / 0.7794 GB, free: 5.406 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.0009411/1.288, allocations: 192.6 kB / 0.7796 GB, free: 5.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01371/1.302, allocations: 7.317 MB / 0.7868 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.302, allocations: 0 / 0.7868 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/1.307, allocations: 2.745 MB / 0.7894 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007193/1.314, allocations: 483.4 kB / 0.7899 GB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.343, allocations: 14.12 MB / 0.8037 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007956/1.351, allocations: 3.802 MB / 0.8074 GB, free: 8.742 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007696/1.359, allocations: 2.324 MB / 0.8097 GB, free: 6.422 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.361, allocations: 323.3 kB / 0.81 GB, free: 6.105 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/1.361, allocations: 1.641 kB / 0.81 GB, free: 6.105 MB / 474.7 MB Notification: Performance of Templates: time 0.2707/1.631, allocations: 47.73 MB / 0.8566 GB, free: 151.4 MB / 490.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/jenkins1/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