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.0009754/0.0009754, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.0008442, allocations: 101.5 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.33e-05/1.331e-05, allocations: 4 kB / 343.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 51.48 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5235, allocations: 99.92 MB / 495.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5238, allocations: 86.83 kB / 495.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5456/1.069, allocations: 94.13 MB / 0.5755 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.07, allocations: 1.969 kB / 0.5755 GB, free: 73.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004225/1.07, allocations: 97.27 kB / 0.5756 GB, free: 73.41 MB / 442.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.02271/1.093, allocations: 5.423 MB / 0.5809 GB, free: 72.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.093, allocations: 9.844 kB / 0.5809 GB, free: 72.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/1.104, allocations: 2.337 MB / 0.5832 GB, free: 72.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/1.115, allocations: 4.163 MB / 0.5872 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/1.115, allocations: 160.7 kB / 0.5874 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/1.118, allocations: 292.4 kB / 0.5877 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01458/1.133, allocations: 7.426 MB / 0.5949 GB, free: 71.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/1.156, allocations: 11.12 MB / 0.6058 GB, free: 68.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002701/1.157, allocations: 68.06 kB / 0.6058 GB, free: 68.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009368/1.157, allocations: 36.2 kB / 0.6059 GB, free: 68.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/1.159, allocations: 1.138 MB / 0.607 GB, free: 68.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06813/1.227, allocations: 53.48 MB / 0.6592 GB, free: 50.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/1.232, allocations: 4.173 MB / 0.6633 GB, free: 48.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/1.236, allocations: 2.947 MB / 0.6662 GB, free: 47.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.237, allocations: 0.6825 MB / 0.6668 GB, free: 46.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.237, allocations: 55.59 kB / 0.6669 GB, free: 46.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=200): time 5.1e-06/1.237, allocations: 0 / 0.6669 GB, free: 46.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.04413/1.281, allocations: 21.34 MB / 0.6877 GB, free: 38.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/1.281, allocations: 155.3 kB / 0.6879 GB, free: 37.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/1.287, allocations: 3.28 MB / 0.6911 GB, free: 36.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/1.288, allocations: 28.05 kB / 0.6911 GB, free: 36.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.29, allocations: 3.525 MB / 0.6945 GB, free: 33.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.291, allocations: 0.8543 MB / 0.6954 GB, free: 33.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/1.292, allocations: 3.5 kB / 0.6954 GB, free: 33.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003741/1.292, allocations: 0.5974 MB / 0.696 GB, free: 32.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.295, allocations: 2.721 MB / 0.6986 GB, free: 31.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005158/1.3, allocations: 6.762 MB / 0.7052 GB, free: 25.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006522/1.307, allocations: 4.226 MB / 0.7093 GB, free: 23.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/1.307, allocations: 43.94 kB / 0.7094 GB, free: 23.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02063/1.328, allocations: 9.596 MB / 0.7188 GB, free: 18.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.328, allocations: 72.89 kB / 0.7188 GB, free: 18.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/1.328, allocations: 144 kB / 0.719 GB, free: 17.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/1.331, allocations: 1.137 MB / 0.7201 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006467/1.337, allocations: 1.713 MB / 0.7217 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/1.345, allocations: 5.606 MB / 0.7272 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/1.352, allocations: 285.6 kB / 0.7275 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/1.354, allocations: 443.4 kB / 0.7279 GB, free: 10.06 MB / 458.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.003056/1.357, allocations: 478 kB / 0.7284 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.359, allocations: 363.3 kB / 0.7287 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.37, allocations: 4.941 MB / 0.7335 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.693e-05/1.37, allocations: 27.94 kB / 0.7336 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/1.37, allocations: 4 kB / 0.7336 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/1.37, allocations: 13.33 kB / 0.7336 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3867/1.757, allocations: 10.7 MB / 0.744 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.757, allocations: 3.188 kB / 0.744 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.76, allocations: 469.2 kB / 0.7445 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.762, allocations: 0.9354 MB / 0.7454 GB, free: 78.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/1.762, allocations: 17.08 kB / 0.7454 GB, free: 78.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006388/1.769, allocations: 5.321 MB / 0.7506 GB, free: 77.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.769, allocations: 5.375 kB / 0.7506 GB, free: 77.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.78, allocations: 8.876 MB / 0.7593 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.783, allocations: 0.801 MB / 0.7601 GB, free: 76.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.783, allocations: 9.188 kB / 0.7601 GB, free: 76.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.785, allocations: 128.5 kB / 0.7602 GB, free: 76.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.786, allocations: 148.4 kB / 0.7603 GB, free: 76.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.786, allocations: 60.72 kB / 0.7604 GB, free: 76.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003531/1.789, allocations: 2.187 MB / 0.7625 GB, free: 76.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.789, allocations: 0 / 0.7625 GB, free: 76.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006572/1.796, allocations: 1.039 MB / 0.7635 GB, free: 76.08 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 () * 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.0006094/1.796, allocations: 157.5 kB / 0.7637 GB, free: 76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.808, allocations: 6.503 MB / 0.77 GB, free: 75.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.808, allocations: 0.8125 kB / 0.77 GB, free: 75.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/1.813, allocations: 2.441 MB / 0.7724 GB, free: 75.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.816, allocations: 367.7 kB / 0.7728 GB, free: 75.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/1.845, allocations: 9.461 MB / 0.782 GB, free: 73.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/1.856, allocations: 3.766 MB / 0.7857 GB, free: 73.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009173/1.865, allocations: 2.246 MB / 0.7879 GB, free: 73.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.866, allocations: 289.6 kB / 0.7882 GB, free: 73.08 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/1.866, allocations: 2.906 kB / 0.7882 GB, free: 73.08 MB / 458.7 MB Notification: Performance of Templates: time 0.08693/1.953, allocations: 39.61 MB / 0.8268 GB, free: 71.24 MB / 458.7 MB 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