Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 94.38 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.132e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.451, allocations: 99.27 MB / 486.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4513, allocations: 79.95 kB / 486.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4796/0.9309, allocations: 93.43 MB / 0.5666 GB, free: 95.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.931, allocations: 0 / 0.5666 GB, free: 95.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004578/0.9314, allocations: 102 kB / 0.5667 GB, free: 95.07 MB / 426.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.02624/0.9577, allocations: 5.338 MB / 0.572 GB, free: 93.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.631e-05/0.9578, allocations: 10.09 kB / 0.572 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.9702, allocations: 2.278 MB / 0.5742 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.9832, allocations: 4.689 MB / 0.5788 GB, free: 92.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.9835, allocations: 159.6 kB / 0.5789 GB, free: 92.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002668/0.9862, allocations: 296.4 kB / 0.5792 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01534/1.002, allocations: 7.43 MB / 0.5865 GB, free: 92.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02696/1.029, allocations: 11.11 MB / 0.5973 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/1.029, allocations: 69.23 kB / 0.5974 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/1.031, allocations: 33.56 kB / 0.5974 GB, free: 87.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/1.033, allocations: 1.136 MB / 0.5985 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05972/1.093, allocations: 53.48 MB / 0.6507 GB, free: 46.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/1.098, allocations: 4.16 MB / 0.6548 GB, free: 42.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/1.1, allocations: 2.959 MB / 0.6577 GB, free: 40.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/1.102, allocations: 0.6719 MB / 0.6584 GB, free: 39.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.102, allocations: 55.88 kB / 0.6584 GB, free: 39.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 4.749e-06/1.102, allocations: 0 / 0.6584 GB, free: 39.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.0477/1.149, allocations: 21.34 MB / 0.6792 GB, free: 20.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/1.149, allocations: 150.5 kB / 0.6794 GB, free: 20.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006136/1.156, allocations: 3.291 MB / 0.6826 GB, free: 16.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007313/1.156, allocations: 25.7 kB / 0.6826 GB, free: 16.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/1.158, allocations: 3.527 MB / 0.6861 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.159, allocations: 0.852 MB / 0.6869 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/1.16, allocations: 4 kB / 0.6869 GB, free: 12.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/1.16, allocations: 0.5915 MB / 0.6875 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.163, allocations: 2.719 MB / 0.6901 GB, free: 9.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/1.169, allocations: 6.765 MB / 0.6967 GB, free: 344 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006656/1.175, allocations: 4.229 MB / 0.7009 GB, free: 12.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.692e-05/1.176, allocations: 40 kB / 0.7009 GB, free: 12.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02292/1.199, allocations: 9.599 MB / 0.7103 GB, free: 2.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.199, allocations: 71.95 kB / 0.7104 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/1.199, allocations: 144.9 kB / 0.7105 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.202, allocations: 1.129 MB / 0.7116 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2699/1.472, allocations: 1.712 MB / 0.7133 GB, free: 97.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009232/1.481, allocations: 5.613 MB / 0.7188 GB, free: 96.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008224/1.49, allocations: 294.3 kB / 0.719 GB, free: 96.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/1.492, allocations: 430.8 kB / 0.7194 GB, free: 96.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 660 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * 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.002704/1.495, allocations: 479.3 kB / 0.7199 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.496, allocations: 358.7 kB / 0.7202 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.508, allocations: 4.945 MB / 0.7251 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.358e-05/1.508, allocations: 25.12 kB / 0.7251 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/1.508, allocations: 12.11 kB / 0.7251 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/1.508, allocations: 11.73 kB / 0.7251 GB, free: 95.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.53, allocations: 10.38 MB / 0.7353 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.53, allocations: 6.656 kB / 0.7353 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.533, allocations: 471.1 kB / 0.7357 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.535, allocations: 0.9284 MB / 0.7366 GB, free: 95.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/1.535, allocations: 14.03 kB / 0.7366 GB, free: 95.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/1.541, allocations: 5.328 MB / 0.7418 GB, free: 93.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.541, allocations: 7.219 kB / 0.7418 GB, free: 93.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.554, allocations: 8.883 MB / 0.7505 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.556, allocations: 0.7972 MB / 0.7513 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.558, allocations: 3.938 kB / 0.7513 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002888/1.561, allocations: 130.7 kB / 0.7514 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/1.561, allocations: 150.4 kB / 0.7516 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.561, allocations: 59.62 kB / 0.7516 GB, free: 89.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005658/1.567, allocations: 2.18 MB / 0.7538 GB, free: 88.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.567, allocations: 0 / 0.7538 GB, free: 88.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009757/1.577, allocations: 1.042 MB / 0.7548 GB, free: 88.52 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 () * 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.00115/1.578, allocations: 162.7 kB / 0.7549 GB, free: 88.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01182/1.59, allocations: 6.49 MB / 0.7613 GB, free: 86.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.59, allocations: 0 / 0.7613 GB, free: 86.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/1.594, allocations: 2.446 MB / 0.7637 GB, free: 85.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.597, allocations: 360.8 kB / 0.764 GB, free: 85.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.623, allocations: 9.464 MB / 0.7732 GB, free: 82.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007647/1.631, allocations: 3.768 MB / 0.7769 GB, free: 80.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007423/1.638, allocations: 2.239 MB / 0.7791 GB, free: 80.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.64, allocations: 284.5 kB / 0.7794 GB, free: 80.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/1.64, allocations: 0 / 0.7794 GB, free: 80.64 MB / 442.7 MB Notification: Performance of Templates: time 0.07343/1.713, allocations: 39.61 MB / 0.8181 GB, free: 50.39 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches