Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.8 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 188 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2809, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01277/0.2937, allocations: 13.11 MB / 413.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.3019, allocations: 4.265 MB / 418.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3037, allocations: 83.75 kB / 418.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006746/0.3105, allocations: 3.734 MB / 421.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.3164, allocations: 2.081 MB / 424 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.318, allocations: 0.6824 MB / 424.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00543/0.3235, allocations: 4.227 MB / 428.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004761/0.3283, allocations: 4.769 MB / 433.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.3305, allocations: 1.85 MB / 435.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.3332, allocations: 2.477 MB / 438 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.3339, allocations: 412 kB / 438.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.3358, allocations: 1.143 MB / 439.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.3376, allocations: 2.244 MB / 441.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.3399, allocations: 2.641 MB / 444.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00751/0.3474, allocations: 8.214 MB / 452.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3475, allocations: 0 / 452.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3475, allocations: 0 / 452.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.3477, allocations: 0 / 452.6 MB, free: 4.715 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02161/0.3693, allocations: 6.223 MB / 458.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.3693, allocations: 12.03 kB / 458.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006827/0.3762, allocations: 1.948 MB / 460.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.3814, allocations: 2.706 MB / 463.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.3816, allocations: 299.5 kB / 463.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000953/0.3826, allocations: 387.7 kB / 464.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/0.4055, allocations: 12.36 MB / 476.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.4057, allocations: 47.58 kB / 476.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000601/0.4063, allocations: 183.8 kB / 476.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004241/0.4106, allocations: 2.26 MB / 479.1 MB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/0.4343, allocations: 11.29 MB / 490.4 MB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06446/0.4988, allocations: 46.8 MB / 0.5246 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/0.5177, allocations: 5.336 MB / 0.5298 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004436/0.5221, allocations: 3.315 MB / 0.533 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.5229, allocations: 372.5 kB / 0.5334 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.5229, allocations: 59.81 kB / 0.5334 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 5.39e-06/0.523, allocations: 0 / 0.5334 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.2758/0.7988, allocations: 26.81 MB / 0.5596 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.7989, allocations: 158.5 kB / 0.5598 GB, free: 121.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.8036, allocations: 4.509 MB / 0.5642 GB, free: 116.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004796/0.8041, allocations: 53.7 kB / 0.5642 GB, free: 116.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.8054, allocations: 3.473 MB / 0.5676 GB, free: 113.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007173/0.8061, allocations: 0.8726 MB / 0.5685 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.8076, allocations: 1.45 MB / 0.5699 GB, free: 110.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.8077, allocations: 301.1 kB / 0.5702 GB, free: 110.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.8112, allocations: 3.289 MB / 0.5734 GB, free: 107.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/0.8159, allocations: 7.244 MB / 0.5804 GB, free: 98.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00925/0.8252, allocations: 11.34 MB / 0.5915 GB, free: 84.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.286e-05/0.8253, allocations: 40 kB / 0.5916 GB, free: 84.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01637/0.8416, allocations: 11.44 MB / 0.6027 GB, free: 73.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.8418, allocations: 64 kB / 0.6028 GB, free: 73.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/0.842, allocations: 140.8 kB / 0.6029 GB, free: 73.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.8446, allocations: 1.121 MB / 0.604 GB, free: 71.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005765/0.8503, allocations: 1.727 MB / 0.6057 GB, free: 70.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.8572, allocations: 6.34 MB / 0.6119 GB, free: 63.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006184/0.8634, allocations: 411.4 kB / 0.6123 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/0.8648, allocations: 451.8 kB / 0.6127 GB, free: 62.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.004469/0.8693, allocations: 2.364 MB / 0.615 GB, free: 60.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.8704, allocations: 398.8 kB / 0.6154 GB, free: 60.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009615/0.88, allocations: 6.105 MB / 0.6214 GB, free: 54.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/0.8801, allocations: 28 kB / 0.6214 GB, free: 54.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.8801, allocations: 4 kB / 0.6214 GB, free: 54.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.8802, allocations: 15.89 kB / 0.6214 GB, free: 54.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.8998, allocations: 12.79 MB / 0.6339 GB, free: 41.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.8998, allocations: 4.312 kB / 0.6339 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/0.9026, allocations: 0.5399 MB / 0.6344 GB, free: 40.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.9049, allocations: 0.9449 MB / 0.6353 GB, free: 39.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/0.9053, allocations: 87.89 kB / 0.6354 GB, free: 39.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006396/0.9117, allocations: 6.085 MB / 0.6414 GB, free: 33.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.9117, allocations: 4 kB / 0.6414 GB, free: 33.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.9247, allocations: 10.35 MB / 0.6515 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/0.9266, allocations: 0.8863 MB / 0.6523 GB, free: 22.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009793/0.9276, allocations: 40 kB / 0.6524 GB, free: 21.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/0.9301, allocations: 155.8 kB / 0.6525 GB, free: 21.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.9307, allocations: 185.6 kB / 0.6527 GB, free: 21.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/0.931, allocations: 107.9 kB / 0.6528 GB, free: 21.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005156/0.9361, allocations: 2.822 MB / 0.6556 GB, free: 18.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9362, allocations: 3.938 kB / 0.6556 GB, free: 18.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007071/0.9432, allocations: 1.206 MB / 0.6568 GB, free: 17.51 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.0007567/0.944, allocations: 196.8 kB / 0.6569 GB, free: 17.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.9543, allocations: 7.757 MB / 0.6645 GB, free: 9.578 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9543, allocations: 192 / 0.6645 GB, free: 9.578 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003812/0.9581, allocations: 2.971 MB / 0.6674 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/0.9623, allocations: 0.5045 MB / 0.6679 GB, free: 6.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/0.9827, allocations: 11.89 MB / 0.6795 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/0.988, allocations: 3.66 MB / 0.6831 GB, free: 6.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005994/0.994, allocations: 2.289 MB / 0.6853 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/0.9958, allocations: 419.1 kB / 0.6857 GB, free: 3.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.283e-06/0.9958, allocations: 0 / 0.6857 GB, free: 3.77 MB / 478.1 MB Notification: Performance of Templates: time 0.3328/1.329, allocations: 52.79 MB / 0.7373 GB, free: 176.7 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches