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.001085/0.001085, allocations: 181 kB / 16.39 MB, free: 5.762 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.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0009284/0.0009284, allocations: 100 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3586, allocations: 99.28 MB / 0.489 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.3589, allocations: 87.95 kB / 0.4891 GB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3621/0.7211, allocations: 81.81 MB / 0.569 GB, free: 43.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7211, allocations: 4 kB / 0.569 GB, free: 43.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.7213, allocations: 79.94 kB / 0.5691 GB, free: 43.75 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.0136/0.7349, allocations: 4.569 MB / 0.5736 GB, free: 39.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7349, allocations: 8.031 kB / 0.5736 GB, free: 39.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008879/0.7438, allocations: 2.174 MB / 0.5757 GB, free: 36.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.7562, allocations: 4.242 MB / 0.5798 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.7565, allocations: 308 kB / 0.5801 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.7586, allocations: 411.8 kB / 0.5805 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.7806, allocations: 10.33 MB / 0.5906 GB, free: 20.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/0.7809, allocations: 71.39 kB / 0.5907 GB, free: 20.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001687/0.7826, allocations: 199.9 kB / 0.5909 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.7839, allocations: 0.9315 MB / 0.5918 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.8, allocations: 8.587 MB / 0.6002 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05489/0.8549, allocations: 47.34 MB / 0.6464 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.865, allocations: 3.271 MB / 0.6496 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007451/0.8725, allocations: 4.064 MB / 0.6535 GB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.8726, allocations: 43.06 kB / 0.6536 GB, free: 2.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 4.759e-06/0.8726, allocations: 0 / 0.6536 GB, free: 2.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02614/0.8987, allocations: 11.15 MB / 0.6645 GB, free: 6.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.8988, allocations: 137.1 kB / 0.6646 GB, free: 6.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/0.9045, allocations: 3.64 MB / 0.6682 GB, free: 3.016 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.9048, allocations: 41.7 kB / 0.6682 GB, free: 2.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2319/1.137, allocations: 3.071 MB / 0.6712 GB, free: 111.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009356/1.138, allocations: 0.5208 MB / 0.6717 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/1.138, allocations: 111.2 kB / 0.6718 GB, free: 111.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004203/1.139, allocations: 0.544 MB / 0.6723 GB, free: 110.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/1.142, allocations: 1.817 MB / 0.6741 GB, free: 110.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/1.145, allocations: 5.508 MB / 0.6795 GB, free: 105.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/1.149, allocations: 3.102 MB / 0.6825 GB, free: 105.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-05/1.149, allocations: 36.78 kB / 0.6826 GB, free: 105.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01192/1.161, allocations: 7.759 MB / 0.6901 GB, free: 105.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.161, allocations: 63.72 kB / 0.6902 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/1.161, allocations: 133.8 kB / 0.6903 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/1.164, allocations: 0.9119 MB / 0.6912 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.168, allocations: 1.314 MB / 0.6925 GB, free: 105.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/1.173, allocations: 4.864 MB / 0.6972 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/1.178, allocations: 315 kB / 0.6975 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009741/1.179, allocations: 360.6 kB / 0.6979 GB, free: 103.9 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.004334/1.183, allocations: 2.015 MB / 0.6999 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/1.184, allocations: 335.1 kB / 0.7002 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/1.189, allocations: 2.489 MB / 0.7026 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/1.189, allocations: 19.23 kB / 0.7026 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.189, allocations: 7.875 kB / 0.7026 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.189, allocations: 3.75 kB / 0.7026 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.203, allocations: 6.327 MB / 0.7088 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/1.203, allocations: 0 / 0.7088 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.204, allocations: 198.2 kB / 0.709 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/1.207, allocations: 0.693 MB / 0.7097 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/1.207, allocations: 25.03 kB / 0.7097 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/1.212, allocations: 4.448 MB / 0.7141 GB, free: 98.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.212, allocations: 3.438 kB / 0.7141 GB, free: 98.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006581/1.218, allocations: 4.619 MB / 0.7186 GB, free: 96.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.219, allocations: 396.9 kB / 0.7189 GB, free: 96.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008664/1.22, allocations: 15.28 kB / 0.719 GB, free: 96.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.222, allocations: 70.95 kB / 0.719 GB, free: 96.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/1.222, allocations: 79.44 kB / 0.7191 GB, free: 96.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/1.222, allocations: 36.81 kB / 0.7191 GB, free: 96.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004975/1.227, allocations: 2.537 MB / 0.7216 GB, free: 95.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.227, allocations: 0 / 0.7216 GB, free: 95.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006041/1.233, allocations: 0.9047 MB / 0.7225 GB, free: 95.19 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.0005535/1.234, allocations: 157.6 kB / 0.7226 GB, free: 95.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007168/1.241, allocations: 4.359 MB / 0.7269 GB, free: 93.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.241, allocations: 0 / 0.7269 GB, free: 93.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.243, allocations: 1.177 MB / 0.7281 GB, free: 92.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.246, allocations: 397.1 kB / 0.7284 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.266, allocations: 9.744 MB / 0.7379 GB, free: 83.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/1.271, allocations: 3.183 MB / 0.7411 GB, free: 81.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004667/1.276, allocations: 1.788 MB / 0.7428 GB, free: 79.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007782/1.277, allocations: 225.3 kB / 0.743 GB, free: 79.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.277, allocations: 0 / 0.743 GB, free: 79.75 MB / 442.7 MB Notification: Performance of Templates: time 0.05281/1.329, allocations: 31.13 MB / 0.7734 GB, free: 55.09 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/jenkins/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