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.001441/0.001441, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 86.58 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 7.938 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2327, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3549, allocations: 99.99 MB / 0.4897 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.3553, allocations: 91.95 kB / 0.4898 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4065/0.7618, allocations: 95.32 MB / 0.5829 GB, free: 29.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7618, allocations: 0 / 0.5829 GB, free: 29.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002944/0.7621, allocations: 96 kB / 0.583 GB, free: 29.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.02126/0.7834, allocations: 5.604 MB / 0.5885 GB, free: 23.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7834, allocations: 12.03 kB / 0.5885 GB, free: 23.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009879/0.7933, allocations: 2.279 MB / 0.5907 GB, free: 21.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.8064, allocations: 4.706 MB / 0.5953 GB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.8068, allocations: 377.9 kB / 0.5957 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/0.8095, allocations: 0.4997 MB / 0.5962 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/0.8358, allocations: 12.56 MB / 0.6084 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/0.8362, allocations: 67.41 kB / 0.6085 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/0.8381, allocations: 239.9 kB / 0.6087 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/0.8398, allocations: 1.133 MB / 0.6098 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.8629, allocations: 10.81 MB / 0.6204 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3116/1.175, allocations: 55.53 MB / 0.6746 GB, free: 47.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/1.188, allocations: 4.986 MB / 0.6795 GB, free: 46.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.189, allocations: 0.6832 MB / 0.6802 GB, free: 46.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.189, allocations: 51.84 kB / 0.6802 GB, free: 46.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 6.252e-06/1.189, allocations: 0 / 0.6802 GB, free: 46.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.06167/1.251, allocations: 24.42 MB / 0.704 GB, free: 42.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.251, allocations: 155.5 kB / 0.7042 GB, free: 42.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007024/1.258, allocations: 4.011 MB / 0.7081 GB, free: 41.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005696/1.259, allocations: 59.23 kB / 0.7082 GB, free: 41.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.261, allocations: 3.488 MB / 0.7116 GB, free: 40.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.262, allocations: 0.8759 MB / 0.7124 GB, free: 39.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007568/1.263, allocations: 132.2 kB / 0.7126 GB, free: 39.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000499/1.264, allocations: 0.5853 MB / 0.7131 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.268, allocations: 2.89 MB / 0.716 GB, free: 39.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006756/1.275, allocations: 6.824 MB / 0.7226 GB, free: 33.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006243/1.281, allocations: 4.339 MB / 0.7269 GB, free: 31.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/1.282, allocations: 40.19 kB / 0.7269 GB, free: 31.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01847/1.3, allocations: 10.55 MB / 0.7372 GB, free: 28.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.3, allocations: 63.28 kB / 0.7373 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/1.301, allocations: 140 kB / 0.7374 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/1.303, allocations: 1.138 MB / 0.7385 GB, free: 28.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006142/1.309, allocations: 1.668 MB / 0.7401 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/1.316, allocations: 6.021 MB / 0.746 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/1.321, allocations: 417.7 kB / 0.7464 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.323, allocations: 424.7 kB / 0.7468 GB, free: 21.26 MB / 426.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.004593/1.327, allocations: 2.352 MB / 0.7491 GB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009158/1.328, allocations: 402.5 kB / 0.7495 GB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008452/1.337, allocations: 5.226 MB / 0.7546 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/1.337, allocations: 30.59 kB / 0.7546 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.337, allocations: 3.953 kB / 0.7546 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/1.337, allocations: 14.78 kB / 0.7546 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/1.356, allocations: 11.51 MB / 0.7659 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.357, allocations: 4 kB / 0.7659 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.359, allocations: 471.8 kB / 0.7663 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/1.361, allocations: 0.9433 MB / 0.7673 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003291/1.362, allocations: 43.66 kB / 0.7673 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/1.368, allocations: 5.747 MB / 0.7729 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.368, allocations: 4 kB / 0.7729 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/1.382, allocations: 9.265 MB / 0.782 GB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002738/1.385, allocations: 0.8593 MB / 0.7828 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009883/1.386, allocations: 42.89 kB / 0.7828 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.388, allocations: 170.3 kB / 0.783 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/1.389, allocations: 142 kB / 0.7831 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.389, allocations: 63.06 kB / 0.7832 GB, free: 5.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005146/1.394, allocations: 2.812 MB / 0.7859 GB, free: 3.668 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.394, allocations: 4 kB / 0.786 GB, free: 3.664 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006303/1.401, allocations: 1.208 MB / 0.7871 GB, free: 2.465 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 (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.000608/1.401, allocations: 193 kB / 0.7873 GB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.412, allocations: 6.91 MB / 0.7941 GB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.412, allocations: 0 / 0.7941 GB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003971/1.416, allocations: 2.559 MB / 0.7966 GB, free: 9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.419, allocations: 451.8 kB / 0.797 GB, free: 8.566 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.448, allocations: 13.43 MB / 0.8101 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005931/1.454, allocations: 3.761 MB / 0.8138 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006641/1.461, allocations: 2.238 MB / 0.816 GB, free: 5.133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.462, allocations: 295.3 kB / 0.8162 GB, free: 4.844 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/1.462, allocations: 0 / 0.8162 GB, free: 4.844 MB / 474.7 MB Notification: Performance of Templates: time 0.2827/1.745, allocations: 45.89 MB / 0.8611 GB, free: 131.9 MB / 490.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