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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2617, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0113/0.273, allocations: 10.99 MB / 420.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007753/0.2808, allocations: 3.82 MB / 424.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.2826, allocations: 63.88 kB / 424.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005154/0.2878, allocations: 2.675 MB / 427.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.2923, allocations: 1.755 MB / 429.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2938, allocations: 0.5732 MB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005095/0.2989, allocations: 3.578 MB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/0.3035, allocations: 3.596 MB / 437 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.306, allocations: 1.448 MB / 438.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.309, allocations: 1.99 MB / 440.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3101, allocations: 320 kB / 440.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.3126, allocations: 1.034 MB / 441.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.3148, allocations: 1.8 MB / 443.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.3182, allocations: 2.074 MB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008501/0.3267, allocations: 6.654 MB / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3267, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3268, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.327, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0183/0.3453, allocations: 5.043 MB / 457.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3454, allocations: 12.03 kB / 457.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007091/0.3525, allocations: 1.855 MB / 459.2 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.3571, allocations: 2.236 MB / 461.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.3573, allocations: 225.7 kB / 461.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009707/0.3583, allocations: 295.8 kB / 461.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01849/0.3768, allocations: 10.02 MB / 472 MB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.377, allocations: 39.59 kB / 472 MB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005557/0.3776, allocations: 147.9 kB / 472.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00322/0.3808, allocations: 1.805 MB / 474 MB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.3988, allocations: 8.967 MB / 482.9 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/0.4448, allocations: 37.74 MB / 0.5085 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.458, allocations: 3.588 MB / 0.512 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.4604, allocations: 1.683 MB / 0.5136 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/0.461, allocations: 351.8 kB / 0.5139 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.4611, allocations: 47.06 kB / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.859e-06/0.4611, allocations: 7.938 kB / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04263/0.5037, allocations: 12.67 MB / 0.5264 GB, free: 14.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.5038, allocations: 141.2 kB / 0.5265 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/0.5096, allocations: 4.044 MB / 0.5304 GB, free: 9.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/0.5099, allocations: 41.7 kB / 0.5305 GB, free: 9.766 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00214/0.5121, allocations: 3.012 MB / 0.5334 GB, free: 6.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.5128, allocations: 0.5442 MB / 0.534 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.5142, allocations: 1.166 MB / 0.5351 GB, free: 4.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.5143, allocations: 313.1 kB / 0.5354 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.517, allocations: 1.955 MB / 0.5373 GB, free: 2.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2109/0.7279, allocations: 5.654 MB / 0.5428 GB, free: 118.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007637/0.7355, allocations: 8.258 MB / 0.5509 GB, free: 111.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/0.7357, allocations: 39.31 kB / 0.5509 GB, free: 111.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01255/0.7483, allocations: 8.08 MB / 0.5588 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/0.7484, allocations: 63.53 kB / 0.5589 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.7486, allocations: 140.4 kB / 0.559 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.7507, allocations: 0.901 MB / 0.5599 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.7544, allocations: 1.319 MB / 0.5612 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.7597, allocations: 5.192 MB / 0.5663 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/0.7637, allocations: 308.3 kB / 0.5665 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/0.7644, allocations: 363.5 kB / 0.5669 GB, free: 104.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.7672, allocations: 1.988 MB / 0.5688 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/0.7678, allocations: 328.6 kB / 0.5691 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.7723, allocations: 2.77 MB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.7723, allocations: 19.59 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.7723, allocations: 8 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7724, allocations: 3.984 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/0.7821, allocations: 7.04 MB / 0.5788 GB, free: 93.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.7822, allocations: 4.281 kB / 0.5788 GB, free: 93.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/0.7832, allocations: 219.7 kB / 0.579 GB, free: 92.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.7851, allocations: 0.7199 MB / 0.5797 GB, free: 92.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.7852, allocations: 43.73 kB / 0.5797 GB, free: 92.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/0.7899, allocations: 4.738 MB / 0.5843 GB, free: 87.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7899, allocations: 8.094 kB / 0.5844 GB, free: 87.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.796, allocations: 5.089 MB / 0.5893 GB, free: 82.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.7966, allocations: 388.6 kB / 0.5897 GB, free: 81.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/0.797, allocations: 26.48 kB / 0.5897 GB, free: 81.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.798, allocations: 67.92 kB / 0.5898 GB, free: 81.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.7983, allocations: 92.45 kB / 0.5899 GB, free: 81.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.7984, allocations: 47.97 kB / 0.5899 GB, free: 81.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002637/0.8011, allocations: 2.533 MB / 0.5924 GB, free: 79.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8011, allocations: 0 / 0.5924 GB, free: 79.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003957/0.805, allocations: 0.8891 MB / 0.5933 GB, free: 78.14 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (101): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/0.8054, allocations: 146.2 kB / 0.5934 GB, free: 78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.8112, allocations: 4.674 MB / 0.598 GB, free: 73.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8112, allocations: 256 / 0.598 GB, free: 73.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.8126, allocations: 1.353 MB / 0.5993 GB, free: 71.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.8147, allocations: 425.4 kB / 0.5997 GB, free: 71.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.8253, allocations: 8.759 MB / 0.6082 GB, free: 62.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.8274, allocations: 3.056 MB / 0.6112 GB, free: 59.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/0.8282, allocations: 299.3 kB / 0.6115 GB, free: 59.41 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8282, allocations: 0 / 0.6115 GB, free: 59.41 MB / 462.1 MB Notification: Performance of Templates: time 0.06958/0.8978, allocations: 71.44 MB / 0.6813 GB, free: 4.012 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches