Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003738/0.003738, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8605/0.8605, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.426e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.008575/0.0086, allocations: 11.37 MB / 337.2 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007365/0.01596, allocations: 4.12 MB / 341.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.0175, allocations: 95.56 kB / 341.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.02101, allocations: 3.792 MB / 345.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.02475, allocations: 2.099 MB / 347.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.02585, allocations: 0.7485 MB / 348.1 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.02944, allocations: 4.633 MB / 352.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.03277, allocations: 3.885 MB / 356.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.0356, allocations: 2.764 MB / 359.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.03813, allocations: 2.509 MB / 361.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.03855, allocations: 412 kB / 362.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.0398, allocations: 1.084 MB / 363.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.04099, allocations: 2.333 MB / 365.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.04208, allocations: 1.515 MB / 367.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005823/0.0479, allocations: 8.123 MB / 375.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.0479, allocations: 0 / 375.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0479, allocations: 0 / 375.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.967e-05/0.048, allocations: 3.938 kB / 375.3 MB, free: 13.73 MB / 346.7 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.01037/0.05837, allocations: 6.389 MB / 381.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.05841, allocations: 15.97 kB / 381.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.0622, allocations: 2.022 MB / 383.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.06518, allocations: 2.612 MB / 386.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.06532, allocations: 295.6 kB / 386.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.0658, allocations: 387.8 kB / 387 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.07791, allocations: 12.26 MB / 399.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.71e-05/0.07799, allocations: 55.56 kB / 399.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.07834, allocations: 183.8 kB / 399.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.08046, allocations: 2.194 MB / 401.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.09359, allocations: 11.2 MB / 412.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1716/0.2652, allocations: 43.7 MB / 456.6 MB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/0.2737, allocations: 4.943 MB / 461.5 MB, free: 85.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.2758, allocations: 3.084 MB / 464.6 MB, free: 85.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.2761, allocations: 134.6 kB / 464.8 MB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2761, allocations: 57.66 kB / 464.8 MB, free: 85.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 3.887e-06/0.2761, allocations: 0 / 464.8 MB, free: 85.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.0365/0.3126, allocations: 27.73 MB / 492.5 MB, free: 64.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3126, allocations: 150.5 kB / 492.7 MB, free: 63.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.3155, allocations: 4.107 MB / 496.8 MB, free: 59.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.3157, allocations: 71.17 kB / 496.9 MB, free: 59.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.3165, allocations: 3.554 MB / 0.4887 GB, free: 56.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.3169, allocations: 0.9142 MB / 0.4896 GB, free: 55.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.318, allocations: 1.468 MB / 0.491 GB, free: 54.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.263e-05/0.318, allocations: 305.1 kB / 0.4913 GB, free: 53.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.3204, allocations: 3.296 MB / 0.4945 GB, free: 50.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.3237, allocations: 7.24 MB / 0.5016 GB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006779/0.3305, allocations: 11.34 MB / 0.5127 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.3305, allocations: 47.62 kB / 0.5127 GB, free: 28.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.009583/0.3401, allocations: 11.43 MB / 0.5239 GB, free: 16.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.3401, allocations: 64.94 kB / 0.5239 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-05/0.3402, allocations: 144 kB / 0.5241 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.3416, allocations: 1.121 MB / 0.5252 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.3443, allocations: 1.758 MB / 0.5269 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.3484, allocations: 6.164 MB / 0.5329 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.351, allocations: 439.7 kB / 0.5333 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.3513, allocations: 467.8 kB / 0.5338 GB, free: 6.668 MB / 410.7 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.002228/0.3535, allocations: 2.327 MB / 0.5361 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.3539, allocations: 373.9 kB / 0.5364 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.3594, allocations: 6.123 MB / 0.5424 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.3594, allocations: 26.81 kB / 0.5424 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3594, allocations: 4 kB / 0.5424 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3594, allocations: 19.89 kB / 0.5424 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.3721, allocations: 11.42 MB / 0.5536 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3721, allocations: 4 kB / 0.5536 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.3735, allocations: 0.5616 MB / 0.5541 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.3749, allocations: 0.9556 MB / 0.5551 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.3751, allocations: 103.8 kB / 0.5552 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/0.3801, allocations: 5.906 MB / 0.5609 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3801, allocations: 7.938 kB / 0.5609 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009734/0.3899, allocations: 10.38 MB / 0.5711 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.3917, allocations: 0.7942 MB / 0.5719 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.392, allocations: 47.98 kB / 0.5719 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.3931, allocations: 195.7 kB / 0.5721 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.3934, allocations: 205.5 kB / 0.5723 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.3936, allocations: 119.8 kB / 0.5724 GB, free: 14.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002305/0.3959, allocations: 2.388 MB / 0.5747 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3959, allocations: 4 kB / 0.5747 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003482/0.3994, allocations: 1.242 MB / 0.576 GB, free: 11.3 MB / 458.7 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.0004004/0.3998, allocations: 198.5 kB / 0.5761 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007251/0.407, allocations: 7.531 MB / 0.5835 GB, free: 3.586 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.407, allocations: 4 kB / 0.5835 GB, free: 3.582 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.4098, allocations: 2.817 MB / 0.5863 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4114, allocations: 453.3 kB / 0.5867 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.425, allocations: 12.35 MB / 0.5987 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/0.4278, allocations: 3.096 MB / 0.6018 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.4291, allocations: 0.4962 MB / 0.6022 GB, free: 300 kB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4291, allocations: 0 / 0.6022 GB, free: 300 kB / 474.7 MB Notification: Performance of Templates: time 0.2309/0.66, allocations: 94.11 MB / 0.6942 GB, free: 109 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.248476207256317]