Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 61.19 kB / 306.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08843, allocations: 50.52 MB / 356.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2034/0.2919, allocations: 61.56 MB / 418.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02683/0.3187, allocations: 12.2 MB / 430.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0109/0.3297, allocations: 267.4 kB / 430.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006871/0.3366, allocations: 3.7 MB / 434.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.3417, allocations: 1.859 MB / 436.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.3434, allocations: 0.632 MB / 437 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006679/0.3501, allocations: 6.206 MB / 443.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005753/0.3559, allocations: 4.706 MB / 447.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3584, allocations: 1.623 MB / 449.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.3618, allocations: 2.613 MB / 452.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000996/0.3629, allocations: 304 kB / 452.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3652, allocations: 1.077 MB / 453.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.3675, allocations: 2.108 MB / 455.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003642/0.3711, allocations: 2.501 MB / 458.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007702/0.3788, allocations: 7.725 MB / 465.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3789, allocations: 0 / 465.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3789, allocations: 4 kB / 465.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001829/0.3791, allocations: 0 / 465.9 MB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01836/0.3974, allocations: 6.176 MB / 472 MB, free: 8.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3975, allocations: 8.031 kB / 472 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.4039, allocations: 1.963 MB / 474 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.408, allocations: 2.616 MB / 476.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.4082, allocations: 295.4 kB / 476.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006754/0.4088, allocations: 387.7 kB / 477.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4283, allocations: 12.17 MB / 489.5 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4285, allocations: 47.59 kB / 489.5 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004775/0.429, allocations: 179.8 kB / 489.7 MB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003719/0.4327, allocations: 2.198 MB / 491.9 MB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.4544, allocations: 11.13 MB / 0.4912 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2482/0.7026, allocations: 46.58 MB / 0.5367 GB, free: 119.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/0.7215, allocations: 5.348 MB / 0.5419 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/0.727, allocations: 3.302 MB / 0.5452 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/0.7277, allocations: 376.8 kB / 0.5455 GB, free: 118.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.7278, allocations: 62.22 kB / 0.5456 GB, free: 118.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.809e-06/0.7278, allocations: 0 / 0.5456 GB, free: 118.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07177/0.7995, allocations: 26.74 MB / 0.5717 GB, free: 107.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.7996, allocations: 157.7 kB / 0.5718 GB, free: 107 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/0.8051, allocations: 4.487 MB / 0.5762 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007931/0.8059, allocations: 53.7 kB / 0.5763 GB, free: 102.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.8076, allocations: 3.436 MB / 0.5796 GB, free: 99.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.8087, allocations: 0.8745 MB / 0.5805 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.8105, allocations: 1.442 MB / 0.5819 GB, free: 96.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.8106, allocations: 306.4 kB / 0.5822 GB, free: 96.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/0.8144, allocations: 3.286 MB / 0.5854 GB, free: 93.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/0.8198, allocations: 7.215 MB / 0.5924 GB, free: 84.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.8302, allocations: 11.3 MB / 0.6035 GB, free: 71.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.741e-05/0.8304, allocations: 47.98 kB / 0.6035 GB, free: 71.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01924/0.8496, allocations: 11.4 MB / 0.6147 GB, free: 59.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.8497, allocations: 65.09 kB / 0.6147 GB, free: 59.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.8499, allocations: 143.9 kB / 0.6149 GB, free: 59.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.8525, allocations: 1.129 MB / 0.616 GB, free: 58.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/0.8583, allocations: 1.719 MB / 0.6176 GB, free: 56.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.8648, allocations: 6.013 MB / 0.6235 GB, free: 50.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/0.8708, allocations: 395.5 kB / 0.6239 GB, free: 50.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.872, allocations: 455.7 kB / 0.6243 GB, free: 49.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (834): * Single equations (assignments): 830 * 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.004241/0.8763, allocations: 2.328 MB / 0.6266 GB, free: 47.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009929/0.8773, allocations: 398.8 kB / 0.627 GB, free: 46.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00862/0.8859, allocations: 6.117 MB / 0.6329 GB, free: 40.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.886, allocations: 24 kB / 0.633 GB, free: 40.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.886, allocations: 10.25 kB / 0.633 GB, free: 40.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.886, allocations: 12.61 kB / 0.633 GB, free: 40.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.905, allocations: 12.85 MB / 0.6455 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9051, allocations: 4 kB / 0.6456 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/0.9077, allocations: 0.5385 MB / 0.6461 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.9101, allocations: 0.9411 MB / 0.647 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003755/0.9105, allocations: 87.33 kB / 0.6471 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/0.9165, allocations: 5.718 MB / 0.6527 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9165, allocations: 11.94 kB / 0.6527 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.9291, allocations: 10.34 MB / 0.6628 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/0.9314, allocations: 0.8823 MB / 0.6636 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/0.9321, allocations: 43.98 kB / 0.6637 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/0.9343, allocations: 155.8 kB / 0.6638 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/0.9348, allocations: 177.6 kB / 0.664 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/0.9351, allocations: 111.2 kB / 0.6641 GB, free: 8.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003753/0.9388, allocations: 2.822 MB / 0.6669 GB, free: 5.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9388, allocations: 0 / 0.6669 GB, free: 5.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005817/0.9447, allocations: 1.191 MB / 0.668 GB, free: 4.586 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0005709/0.9452, allocations: 181.5 kB / 0.6682 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01176/0.957, allocations: 7.721 MB / 0.6757 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9571, allocations: 0 / 0.6757 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004578/0.9617, allocations: 2.966 MB / 0.6786 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/0.9668, allocations: 470.4 kB / 0.6791 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/0.9911, allocations: 14.18 MB / 0.6929 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004142/0.9953, allocations: 3.62 MB / 0.6965 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005972/1.001, allocations: 2.294 MB / 0.6987 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.003, allocations: 415.1 kB / 0.6991 GB, free: 4.68 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/1.003, allocations: 3.938 kB / 0.6991 GB, free: 4.676 MB / 478.1 MB Notification: Performance of Templates: time 0.2761/1.279, allocations: 54.08 MB / 0.7519 GB, free: 137.5 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches