Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008839/0.000884, allocations: 176.6 kB / 17.4 MB, free: 4.418 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.343/1.343, allocations: 223.3 MB / 241.4 MB, free: 9.977 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.0007924/0.0007925, allocations: 97.05 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 12 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2026, allocations: 50.4 MB / 402.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.3181, allocations: 99.42 MB / 0.4904 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.3184, allocations: 89.52 kB / 0.4905 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3993/0.7177, allocations: 80.86 MB / 0.5695 GB, free: 44.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7178, allocations: 4 kB / 0.5695 GB, free: 44.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.718, allocations: 79.98 kB / 0.5695 GB, free: 44.3 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01663/0.7346, allocations: 4.444 MB / 0.5739 GB, free: 39.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7347, allocations: 12.03 kB / 0.5739 GB, free: 39.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009167/0.7439, allocations: 2.14 MB / 0.576 GB, free: 37.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007104/0.751, allocations: 3.174 MB / 0.5791 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.7513, allocations: 305.1 kB / 0.5794 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.7532, allocations: 407.7 kB / 0.5798 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.7759, allocations: 10.31 MB / 0.5898 GB, free: 22.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/0.7763, allocations: 63.39 kB / 0.5899 GB, free: 22.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/0.778, allocations: 195.9 kB / 0.5901 GB, free: 22.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001361/0.7794, allocations: 0.9393 MB / 0.591 GB, free: 21.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.7955, allocations: 8.517 MB / 0.5993 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05202/0.8476, allocations: 47.33 MB / 0.6455 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009261/0.8569, allocations: 3.26 MB / 0.6487 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.8591, allocations: 1.645 MB / 0.6503 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006565/0.8657, allocations: 4.028 MB / 0.6542 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.8658, allocations: 47.11 kB / 0.6543 GB, free: 2.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 4.147e-06/0.8658, allocations: 0 / 0.6543 GB, free: 2.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.03481/0.9006, allocations: 10.9 MB / 0.6649 GB, free: 7.418 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.9008, allocations: 145 kB / 0.6651 GB, free: 7.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009822/0.9106, allocations: 4.069 MB / 0.669 GB, free: 3.148 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003347/0.911, allocations: 41.7 kB / 0.6691 GB, free: 3.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2263/1.137, allocations: 3.071 MB / 0.6721 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009167/1.138, allocations: 0.5165 MB / 0.6726 GB, free: 111.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006789/1.139, allocations: 113.2 kB / 0.6727 GB, free: 111.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003899/1.139, allocations: 0.537 MB / 0.6732 GB, free: 110.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/1.142, allocations: 1.817 MB / 0.675 GB, free: 110.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/1.146, allocations: 5.534 MB / 0.6804 GB, free: 106.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/1.153, allocations: 7.987 MB / 0.6882 GB, free: 101.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.609e-05/1.153, allocations: 40.88 kB / 0.6882 GB, free: 101.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01307/1.166, allocations: 7.758 MB / 0.6958 GB, free: 100.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.166, allocations: 68.47 kB / 0.6959 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/1.166, allocations: 134.7 kB / 0.696 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/1.168, allocations: 0.8899 MB / 0.6969 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/1.173, allocations: 1.306 MB / 0.6982 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/1.178, allocations: 4.783 MB / 0.7028 GB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.182, allocations: 318.1 kB / 0.7031 GB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006918/1.182, allocations: 360.4 kB / 0.7035 GB, free: 98.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (694): * Single equations (assignments): 690 * 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.003101/1.185, allocations: 2.011 MB / 0.7054 GB, free: 98.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/1.186, allocations: 331.6 kB / 0.7058 GB, free: 98.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.19, allocations: 2.499 MB / 0.7082 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.19, allocations: 14.69 kB / 0.7082 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.19, allocations: 3.094 kB / 0.7082 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.19, allocations: 11.5 kB / 0.7082 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/1.2, allocations: 6.306 MB / 0.7144 GB, free: 95.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.2, allocations: 0 / 0.7144 GB, free: 95.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/1.201, allocations: 196.7 kB / 0.7146 GB, free: 95.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/1.203, allocations: 0.7028 MB / 0.7153 GB, free: 95.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.203, allocations: 23.22 kB / 0.7153 GB, free: 95.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/1.207, allocations: 4.348 MB / 0.7195 GB, free: 92.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.207, allocations: 0 / 0.7195 GB, free: 92.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/1.213, allocations: 4.53 MB / 0.7239 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.214, allocations: 393.9 kB / 0.7243 GB, free: 90.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/1.215, allocations: 18.78 kB / 0.7243 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.216, allocations: 76.88 kB / 0.7244 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.216, allocations: 70.58 kB / 0.7245 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/1.216, allocations: 38.52 kB / 0.7245 GB, free: 90.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003886/1.22, allocations: 2.539 MB / 0.727 GB, free: 89.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.22, allocations: 0 / 0.727 GB, free: 89.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004405/1.224, allocations: 0.9011 MB / 0.7279 GB, free: 89.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (92): * Single equations (assignments): 88 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003451/1.225, allocations: 160.1 kB / 0.728 GB, free: 89.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005751/1.231, allocations: 4.364 MB / 0.7323 GB, free: 87.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.231, allocations: 4 kB / 0.7323 GB, free: 87.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.232, allocations: 1.174 MB / 0.7334 GB, free: 86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.235, allocations: 408 kB / 0.7338 GB, free: 85.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.249, allocations: 9.784 MB / 0.7434 GB, free: 76.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/1.253, allocations: 3.097 MB / 0.7464 GB, free: 74.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004252/1.257, allocations: 1.789 MB / 0.7482 GB, free: 73.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/1.258, allocations: 229 kB / 0.7484 GB, free: 72.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/1.258, allocations: 0 / 0.7484 GB, free: 72.95 MB / 442.7 MB Notification: Performance of Templates: time 0.05137/1.309, allocations: 31.22 MB / 0.7789 GB, free: 47.83 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches