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.001542/0.001542, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 94.05 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 11.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.4861, allocations: 98.31 MB / 472.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/0.4866, allocations: 91.95 kB / 472.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.082, allocations: 84.78 MB / 0.5446 GB, free: 71.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/1.082, allocations: 0 / 0.5446 GB, free: 71.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002393/1.082, allocations: 83.94 kB / 0.5447 GB, free: 71.12 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02615/1.108, allocations: 4.734 MB / 0.5493 GB, free: 66.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.108, allocations: 12.03 kB / 0.5494 GB, free: 66.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/1.125, allocations: 2.222 MB / 0.5515 GB, free: 64.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/1.142, allocations: 4.489 MB / 0.5559 GB, free: 59.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/1.142, allocations: 324.4 kB / 0.5562 GB, free: 59.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/1.144, allocations: 423.8 kB / 0.5566 GB, free: 58.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/1.175, allocations: 10.81 MB / 0.5672 GB, free: 46.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/1.175, allocations: 63.41 kB / 0.5672 GB, free: 46.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/1.176, allocations: 211.9 kB / 0.5674 GB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/1.179, allocations: 0.9983 MB / 0.5684 GB, free: 45.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/1.206, allocations: 9.015 MB / 0.5772 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07149/1.277, allocations: 48.98 MB / 0.625 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/1.297, allocations: 3.54 MB / 0.6285 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/1.309, allocations: 4.374 MB / 0.6328 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.309, allocations: 47.56 kB / 0.6328 GB, free: 9.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.811e-06/1.309, allocations: 3.938 kB / 0.6328 GB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.3301/1.639, allocations: 12.24 MB / 0.6448 GB, free: 99.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.639, allocations: 145.4 kB / 0.6449 GB, free: 99.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008194/1.648, allocations: 3.733 MB / 0.6486 GB, free: 98.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/1.648, allocations: 44.17 kB / 0.6486 GB, free: 98.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.651, allocations: 3.113 MB / 0.6516 GB, free: 97.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/1.652, allocations: 0.5854 MB / 0.6522 GB, free: 96.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/1.652, allocations: 117.6 kB / 0.6523 GB, free: 96.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003556/1.653, allocations: 0.5611 MB / 0.6529 GB, free: 96.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/1.658, allocations: 1.981 MB / 0.6548 GB, free: 96.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.666, allocations: 5.793 MB / 0.6605 GB, free: 91.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008666/1.674, allocations: 3.312 MB / 0.6637 GB, free: 91.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002249/1.675, allocations: 39.84 kB / 0.6637 GB, free: 91.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02362/1.698, allocations: 8.112 MB / 0.6717 GB, free: 90.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.699, allocations: 63.62 kB / 0.6717 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/1.699, allocations: 137.7 kB / 0.6718 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.703, allocations: 0.9203 MB / 0.6727 GB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008596/1.712, allocations: 1.379 MB / 0.6741 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009489/1.721, allocations: 4.892 MB / 0.6789 GB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006761/1.728, allocations: 326.1 kB / 0.6792 GB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.729, allocations: 376.5 kB / 0.6795 GB, free: 86.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (732): * Single equations (assignments): 728 * 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.005803/1.735, allocations: 2.104 MB / 0.6816 GB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009599/1.736, allocations: 348 kB / 0.6819 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00947/1.746, allocations: 2.874 MB / 0.6847 GB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/1.746, allocations: 17.16 kB / 0.6848 GB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.746, allocations: 6.938 kB / 0.6848 GB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.361e-05/1.746, allocations: 7.219 kB / 0.6848 GB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.767, allocations: 7.021 MB / 0.6916 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.767, allocations: 0 / 0.6916 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.769, allocations: 248.8 kB / 0.6919 GB, free: 82.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.773, allocations: 0.6933 MB / 0.6925 GB, free: 82.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/1.773, allocations: 29.56 kB / 0.6926 GB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008438/1.782, allocations: 4.463 MB / 0.6969 GB, free: 79.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.782, allocations: 2.812 kB / 0.6969 GB, free: 79.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.795, allocations: 5.196 MB / 0.702 GB, free: 76.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.797, allocations: 0.6106 MB / 0.7026 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009713/1.798, allocations: 24 kB / 0.7026 GB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.801, allocations: 93.09 kB / 0.7027 GB, free: 75.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/1.802, allocations: 81 kB / 0.7028 GB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.802, allocations: 39.47 kB / 0.7028 GB, free: 75.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006395/1.808, allocations: 2.609 MB / 0.7054 GB, free: 73.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.808, allocations: 4 kB / 0.7054 GB, free: 73.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007044/1.815, allocations: 0.9517 MB / 0.7063 GB, free: 72.33 MB / 410.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 (114): * Single equations (assignments): 110 * 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.0006607/1.816, allocations: 164.5 kB / 0.7065 GB, free: 72.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01118/1.827, allocations: 4.768 MB / 0.7111 GB, free: 67.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.827, allocations: 0 / 0.7111 GB, free: 67.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003039/1.83, allocations: 1.364 MB / 0.7124 GB, free: 66.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.833, allocations: 405 kB / 0.7128 GB, free: 66.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.858, allocations: 10.89 MB / 0.7235 GB, free: 56.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006402/1.864, allocations: 3.313 MB / 0.7267 GB, free: 54.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/1.866, allocations: 289 kB / 0.727 GB, free: 53.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.866, allocations: 3.938 kB / 0.727 GB, free: 53.76 MB / 410.7 MB Notification: Performance of Templates: time 0.1388/2.005, allocations: 72 MB / 0.7973 GB, free: 312 kB / 426.7 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