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.001406/0.001406, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2471, allocations: 50.55 MB / 409.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01284/0.26, allocations: 12.97 MB / 422.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.268, allocations: 4.291 MB / 426.5 MB, free: 172 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.2698, allocations: 83.75 kB / 426.6 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006159/0.276, allocations: 3.703 MB / 430.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.2812, allocations: 1.976 MB / 432.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.2828, allocations: 0.698 MB / 433 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006509/0.2893, allocations: 4.229 MB / 437.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/0.2948, allocations: 4.726 MB / 441.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.2976, allocations: 1.822 MB / 443.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.3006, allocations: 2.457 MB / 446.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006266/0.3013, allocations: 408 kB / 446.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3032, allocations: 1.127 MB / 447.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.3048, allocations: 2.201 MB / 449.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.3071, allocations: 2.579 MB / 452.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007162/0.3142, allocations: 8.075 MB / 460.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3143, allocations: 4 kB / 460.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3143, allocations: 0 / 460.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.3144, allocations: 4 kB / 460.6 MB, free: 13.93 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.01789/0.3323, allocations: 6.161 MB / 466.7 MB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3324, allocations: 16.03 kB / 466.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006614/0.339, allocations: 1.983 MB / 468.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005307/0.3443, allocations: 2.659 MB / 471.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3445, allocations: 295.5 kB / 471.7 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008698/0.3454, allocations: 391.7 kB / 472.1 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.3695, allocations: 12.18 MB / 484.3 MB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.3697, allocations: 51.52 kB / 484.3 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000558/0.3703, allocations: 183.8 kB / 484.5 MB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004016/0.3743, allocations: 2.182 MB / 486.7 MB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.3954, allocations: 11.14 MB / 497.8 MB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05564/0.451, allocations: 46.39 MB / 0.5314 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.468, allocations: 5.344 MB / 0.5367 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2214/0.6895, allocations: 3.315 MB / 0.5399 GB, free: 123 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.6903, allocations: 370.5 kB / 0.5402 GB, free: 122.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.6903, allocations: 57.45 kB / 0.5403 GB, free: 122.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 5.31e-06/0.6903, allocations: 0 / 0.5403 GB, free: 122.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06615/0.7565, allocations: 26.77 MB / 0.5664 GB, free: 109.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7566, allocations: 150.5 kB / 0.5666 GB, free: 109.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004492/0.7611, allocations: 4.484 MB / 0.571 GB, free: 104.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.7614, allocations: 57.7 kB / 0.571 GB, free: 104.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.7626, allocations: 3.432 MB / 0.5744 GB, free: 101.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006104/0.7632, allocations: 0.8771 MB / 0.5752 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.7647, allocations: 1.442 MB / 0.5766 GB, free: 98.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.67e-05/0.7647, allocations: 305.1 kB / 0.5769 GB, free: 98.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.7681, allocations: 3.285 MB / 0.5801 GB, free: 95.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004549/0.7727, allocations: 7.215 MB / 0.5872 GB, free: 86.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/0.7818, allocations: 11.31 MB / 0.5982 GB, free: 72.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/0.7819, allocations: 40 kB / 0.5983 GB, free: 72.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01519/0.7971, allocations: 11.41 MB / 0.6094 GB, free: 61.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.7972, allocations: 68 kB / 0.6095 GB, free: 61.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.043e-05/0.7973, allocations: 136 kB / 0.6096 GB, free: 61.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.7997, allocations: 1.129 MB / 0.6107 GB, free: 60.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/0.8049, allocations: 1.72 MB / 0.6124 GB, free: 58.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.8113, allocations: 6.342 MB / 0.6186 GB, free: 51.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/0.8166, allocations: 407.5 kB / 0.619 GB, free: 51.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/0.8173, allocations: 451.8 kB / 0.6194 GB, free: 51.05 MB / 462.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.003208/0.8205, allocations: 2.327 MB / 0.6217 GB, free: 48.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/0.8213, allocations: 402.8 kB / 0.622 GB, free: 48.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008368/0.8296, allocations: 6.109 MB / 0.628 GB, free: 42.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.8297, allocations: 28 kB / 0.628 GB, free: 42.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.8297, allocations: 3.938 kB / 0.628 GB, free: 42.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.8297, allocations: 11.97 kB / 0.6281 GB, free: 42.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.8472, allocations: 12.75 MB / 0.6405 GB, free: 29.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.8473, allocations: 4.375 kB / 0.6405 GB, free: 29.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/0.8498, allocations: 0.5304 MB / 0.641 GB, free: 28.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.8522, allocations: 0.9453 MB / 0.642 GB, free: 27.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/0.8525, allocations: 87.83 kB / 0.642 GB, free: 27.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006143/0.8586, allocations: 6.085 MB / 0.648 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.8586, allocations: 7.938 kB / 0.648 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.8702, allocations: 10.34 MB / 0.6581 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/0.8723, allocations: 0.8824 MB / 0.6589 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.8728, allocations: 47.98 kB / 0.659 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.8749, allocations: 155.8 kB / 0.6591 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/0.8753, allocations: 185.5 kB / 0.6593 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/0.8755, allocations: 103.9 kB / 0.6594 GB, free: 9.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003399/0.879, allocations: 2.818 MB / 0.6622 GB, free: 6.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.879, allocations: 0 / 0.6622 GB, free: 6.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004886/0.8839, allocations: 1.196 MB / 0.6633 GB, free: 5.723 MB / 462.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.0005113/0.8844, allocations: 186.1 kB / 0.6635 GB, free: 5.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009817/0.8942, allocations: 7.741 MB / 0.6711 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.8942, allocations: 0 / 0.6711 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004055/0.8983, allocations: 2.966 MB / 0.674 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.9013, allocations: 0.4898 MB / 0.6744 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.9193, allocations: 11.79 MB / 0.686 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/0.9231, allocations: 3.616 MB / 0.6895 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005372/0.9285, allocations: 2.285 MB / 0.6917 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.9299, allocations: 427.1 kB / 0.6921 GB, free: 8.152 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.9299, allocations: 0 / 0.6921 GB, free: 8.152 MB / 494.1 MB Notification: Performance of Templates: time 0.3047/1.235, allocations: 52.54 MB / 0.7434 GB, free: 168.8 MB / 0.5137 GB 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