Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 89.55 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.917e-05, allocations: 0 / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.4924, allocations: 97.56 MB / 459.9 MB, free: 4.73 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4928, allocations: 83.95 kB / 460 MB, free: 4.648 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6141/1.107, allocations: 83.18 MB / 0.5304 GB, free: 96.95 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.325e-06/1.107, allocations: 0 / 0.5304 GB, free: 96.95 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002602/1.107, allocations: 87.62 kB / 0.5305 GB, free: 96.94 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02486/1.132, allocations: 4.483 MB / 0.5349 GB, free: 94.83 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.132, allocations: 10.66 kB / 0.5349 GB, free: 94.83 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/1.15, allocations: 2.217 MB / 0.5371 GB, free: 94.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/1.167, allocations: 4.473 MB / 0.5414 GB, free: 92.82 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/1.167, allocations: 136.2 kB / 0.5416 GB, free: 92.82 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/1.17, allocations: 249.2 kB / 0.5418 GB, free: 92.81 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01631/1.186, allocations: 6.347 MB / 0.548 GB, free: 90.62 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/1.21, allocations: 9.686 MB / 0.5574 GB, free: 82.88 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/1.21, allocations: 67.45 kB / 0.5575 GB, free: 82.82 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/1.212, allocations: 39.88 kB / 0.5576 GB, free: 82.78 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/1.215, allocations: 0.9944 MB / 0.5585 GB, free: 81.79 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06809/1.283, allocations: 47.01 MB / 0.6044 GB, free: 33.67 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/1.289, allocations: 3.225 MB / 0.6076 GB, free: 30.3 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/1.292, allocations: 1.734 MB / 0.6093 GB, free: 28.56 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/1.303, allocations: 4.246 MB / 0.6134 GB, free: 24.18 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.303, allocations: 51.34 kB / 0.6135 GB, free: 24.12 MB / 395.1 MB Notification: Performance of pre-optimization done (n=139): time 5.621e-06/1.303, allocations: 0 / 0.6135 GB, free: 24.12 MB / 395.1 MB Notification: Performance of matching and sorting (n=146): time 0.03334/1.336, allocations: 12.05 MB / 0.6252 GB, free: 11.97 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.336, allocations: 141.3 kB / 0.6254 GB, free: 11.8 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/1.343, allocations: 3.162 MB / 0.6285 GB, free: 8.652 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004163/1.344, allocations: 25.7 kB / 0.6285 GB, free: 8.621 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.346, allocations: 3.235 MB / 0.6316 GB, free: 5.34 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009964/1.347, allocations: 0.5787 MB / 0.6322 GB, free: 4.754 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/1.348, allocations: 0 / 0.6322 GB, free: 4.754 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0005033/1.349, allocations: 0.5671 MB / 0.6328 GB, free: 4.176 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.353, allocations: 1.859 MB / 0.6346 GB, free: 2.312 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008832/1.362, allocations: 5.821 MB / 0.6403 GB, free: 10.48 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008623/1.371, allocations: 3.25 MB / 0.6434 GB, free: 7.23 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.371, allocations: 44 kB / 0.6435 GB, free: 7.188 MB / 411.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.3275/1.699, allocations: 7.352 MB / 0.6507 GB, free: 94.12 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.699, allocations: 65.56 kB / 0.6507 GB, free: 94.12 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/1.699, allocations: 145.3 kB / 0.6509 GB, free: 94.12 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/1.703, allocations: 0.9243 MB / 0.6518 GB, free: 94.12 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008751/1.712, allocations: 1.445 MB / 0.6532 GB, free: 94.12 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009527/1.722, allocations: 4.606 MB / 0.6577 GB, free: 92.87 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/1.729, allocations: 217 kB / 0.6579 GB, free: 92.87 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.73, allocations: 393.9 kB / 0.6583 GB, free: 92.87 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (763): * Single equations (assignments): 759 * 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.002284/1.733, allocations: 459.9 kB / 0.6587 GB, free: 92.75 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/1.733, allocations: 320.2 kB / 0.659 GB, free: 92.75 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009661/1.743, allocations: 2.715 MB / 0.6616 GB, free: 92.66 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/1.743, allocations: 17.67 kB / 0.6617 GB, free: 92.66 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.743, allocations: 5.781 kB / 0.6617 GB, free: 92.66 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/1.743, allocations: 8.422 kB / 0.6617 GB, free: 92.66 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/1.765, allocations: 6.115 MB / 0.6677 GB, free: 92.3 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.765, allocations: 2.688 kB / 0.6677 GB, free: 92.3 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002626/1.768, allocations: 251.1 kB / 0.6679 GB, free: 92.3 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/1.772, allocations: 0.6989 MB / 0.6686 GB, free: 92.29 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003907/1.772, allocations: 10.98 kB / 0.6686 GB, free: 92.29 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007996/1.78, allocations: 4.169 MB / 0.6727 GB, free: 90.53 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.78, allocations: 0 / 0.6727 GB, free: 90.53 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.793, allocations: 4.986 MB / 0.6775 GB, free: 88.68 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.795, allocations: 0.5742 MB / 0.6781 GB, free: 88.47 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.796, allocations: 0 / 0.6781 GB, free: 88.47 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002888/1.799, allocations: 76.97 kB / 0.6782 GB, free: 88.46 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/1.8, allocations: 85.8 kB / 0.6782 GB, free: 88.46 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.8, allocations: 36.81 kB / 0.6783 GB, free: 88.45 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.005431/1.805, allocations: 2.096 MB / 0.6803 GB, free: 87.68 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.162e-06/1.805, allocations: 0 / 0.6803 GB, free: 87.68 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007573/1.813, allocations: 0.8334 MB / 0.6811 GB, free: 87.68 MB / 411.1 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 (115): * Single equations (assignments): 111 * 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.0007219/1.814, allocations: 138.7 kB / 0.6813 GB, free: 87.59 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009959/1.824, allocations: 4.466 MB / 0.6856 GB, free: 86.33 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.824, allocations: 0 / 0.6856 GB, free: 86.33 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.827, allocations: 1.298 MB / 0.6869 GB, free: 85.82 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.83, allocations: 321 kB / 0.6872 GB, free: 85.68 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/1.852, allocations: 7.605 MB / 0.6946 GB, free: 82.88 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007857/1.86, allocations: 3.324 MB / 0.6979 GB, free: 81.6 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.861, allocations: 274.4 kB / 0.6981 GB, free: 81.59 MB / 411.1 MB Notification: Performance of SimCode: time 1.333e-06/1.861, allocations: 0 / 0.6981 GB, free: 81.59 MB / 411.1 MB Notification: Performance of Templates: time 0.1322/1.993, allocations: 69.69 MB / 0.7662 GB, free: 23.71 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches