Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 198.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009735, allocations: 96.59 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.94e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 51.47 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5893, allocations: 99.19 MB / 494.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5897, allocations: 91.33 kB / 494.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2793/0.869, allocations: 80.98 MB / 0.5619 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.869, allocations: 4 kB / 0.562 GB, free: 13.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002875/0.8693, allocations: 79.98 kB / 0.562 GB, free: 13.75 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01994/0.8893, allocations: 4.379 MB / 0.5663 GB, free: 9.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.8893, allocations: 12.03 kB / 0.5663 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.9006, allocations: 2.213 MB / 0.5685 GB, free: 7.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.9127, allocations: 3.716 MB / 0.5721 GB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.9131, allocations: 136 kB / 0.5722 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002736/0.9158, allocations: 239.9 kB / 0.5725 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3335/1.249, allocations: 6.01 MB / 0.5783 GB, free: 79.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/1.273, allocations: 9.254 MB / 0.5874 GB, free: 77.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002667/1.273, allocations: 57.78 kB / 0.5874 GB, free: 77.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.274, allocations: 33.22 kB / 0.5875 GB, free: 77.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/1.276, allocations: 0.9337 MB / 0.5884 GB, free: 77.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/1.335, allocations: 45.54 MB / 0.6328 GB, free: 48.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/1.339, allocations: 3.009 MB / 0.6358 GB, free: 47.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/1.342, allocations: 1.57 MB / 0.6373 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008771/1.351, allocations: 3.943 MB / 0.6412 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/1.351, allocations: 54.16 kB / 0.6412 GB, free: 44.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 6.172e-06/1.351, allocations: 1.125 kB / 0.6412 GB, free: 44.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.02925/1.38, allocations: 11.12 MB / 0.6521 GB, free: 39.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.38, allocations: 146.7 kB / 0.6522 GB, free: 39.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009227/1.39, allocations: 3.065 MB / 0.6552 GB, free: 38.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/1.39, allocations: 26.95 kB / 0.6552 GB, free: 38.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.393, allocations: 3.132 MB / 0.6583 GB, free: 35.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.394, allocations: 0.5058 MB / 0.6588 GB, free: 35.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/1.395, allocations: 0.9688 kB / 0.6588 GB, free: 35.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008057/1.396, allocations: 0.5455 MB / 0.6593 GB, free: 35.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/1.399, allocations: 1.702 MB / 0.661 GB, free: 34.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005425/1.405, allocations: 5.506 MB / 0.6664 GB, free: 28.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/1.41, allocations: 3.028 MB / 0.6693 GB, free: 27.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/1.41, allocations: 43.06 kB / 0.6694 GB, free: 27.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01421/1.424, allocations: 6.984 MB / 0.6762 GB, free: 25.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.424, allocations: 63.44 kB / 0.6762 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/1.424, allocations: 137.5 kB / 0.6764 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/1.427, allocations: 0.9196 MB / 0.6773 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/1.431, allocations: 1.358 MB / 0.6786 GB, free: 24.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/1.436, allocations: 4.603 MB / 0.6831 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/1.442, allocations: 207.2 kB / 0.6833 GB, free: 22.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.443, allocations: 370.3 kB / 0.6836 GB, free: 22.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (719): * Single equations (assignments): 715 * 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.001912/1.445, allocations: 458.5 kB / 0.6841 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.446, allocations: 302.6 kB / 0.6844 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/1.451, allocations: 2.368 MB / 0.6867 GB, free: 21.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.451, allocations: 13.94 kB / 0.6867 GB, free: 21.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.451, allocations: 5.844 kB / 0.6867 GB, free: 21.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.451, allocations: 11.56 kB / 0.6867 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.465, allocations: 5.503 MB / 0.6921 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.465, allocations: 0 / 0.6921 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.466, allocations: 202.3 kB / 0.6923 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/1.468, allocations: 0.6912 MB / 0.6929 GB, free: 19.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.468, allocations: 13.83 kB / 0.693 GB, free: 19.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004602/1.473, allocations: 4.183 MB / 0.697 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/1.473, allocations: 0 / 0.697 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/1.479, allocations: 4.431 MB / 0.7014 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.481, allocations: 356.6 kB / 0.7017 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.482, allocations: 0 / 0.7017 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.484, allocations: 67.52 kB / 0.7018 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/1.484, allocations: 71.12 kB / 0.7018 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/1.484, allocations: 38.64 kB / 0.7019 GB, free: 14.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004661/1.489, allocations: 2.031 MB / 0.7039 GB, free: 13.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.489, allocations: 3.094 kB / 0.7039 GB, free: 13.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007582/1.496, allocations: 0.7784 MB / 0.7046 GB, free: 13.85 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 89 * 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.0008999/1.497, allocations: 144.8 kB / 0.7048 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007451/1.505, allocations: 4.06 MB / 0.7087 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.505, allocations: 8 kB / 0.7087 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.506, allocations: 1.13 MB / 0.7098 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.509, allocations: 328.6 kB / 0.7102 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.526, allocations: 6.621 MB / 0.7166 GB, free: 6.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/1.531, allocations: 3.189 MB / 0.7197 GB, free: 3.625 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004779/1.535, allocations: 1.823 MB / 0.7215 GB, free: 2.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/1.536, allocations: 202.7 kB / 0.7217 GB, free: 2.305 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/1.536, allocations: 8 kB / 0.7217 GB, free: 2.297 MB / 442.7 MB Notification: Performance of Templates: time 0.3476/1.884, allocations: 26.77 MB / 0.7479 GB, free: 84.53 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches