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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008939/0.0008939, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.007473/0.007473, allocations: 153.6 kB / 24.69 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.858/0.858, allocations: 177 MB / 204.9 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.495e-05, allocations: 3.266 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.008967/0.008992, allocations: 11.37 MB / 337.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.0158, allocations: 4.111 MB / 341.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.01699, allocations: 91.56 kB / 341.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.02055, allocations: 3.796 MB / 345.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.02323, allocations: 2.098 MB / 347.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.02415, allocations: 0.7485 MB / 348 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.02728, allocations: 4.651 MB / 352.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.02991, allocations: 3.881 MB / 356.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.03224, allocations: 2.756 MB / 359.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.03422, allocations: 2.517 MB / 361.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.03461, allocations: 416 kB / 362.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.03577, allocations: 1.081 MB / 363.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.03708, allocations: 2.337 MB / 365.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.03817, allocations: 1.515 MB / 367.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005437/0.0436, allocations: 8.111 MB / 375.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.04361, allocations: 0 / 375.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04361, allocations: 3.938 kB / 375.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.04372, allocations: 4 kB / 375.3 MB, free: 13.71 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.01051/0.05423, allocations: 6.393 MB / 381.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.05427, allocations: 15.98 kB / 381.7 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.05784, allocations: 2.026 MB / 383.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.06086, allocations: 2.608 MB / 386.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.06099, allocations: 287.6 kB / 386.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006034/0.0616, allocations: 403.7 kB / 387 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.07425, allocations: 12.26 MB / 399.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/0.07434, allocations: 43.64 kB / 399.3 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.07469, allocations: 183.8 kB / 399.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002354/0.07704, allocations: 2.194 MB / 401.6 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.09126, allocations: 11.2 MB / 412.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1875/0.2787, allocations: 43.7 MB / 456.5 MB, free: 85.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008352/0.2871, allocations: 4.949 MB / 461.5 MB, free: 85.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.2891, allocations: 3.081 MB / 464.6 MB, free: 85.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.2893, allocations: 139 kB / 464.7 MB, free: 85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2894, allocations: 54.7 kB / 464.8 MB, free: 84.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 3.457e-06/0.2894, allocations: 0 / 464.8 MB, free: 84.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.035/0.3244, allocations: 27.74 MB / 492.5 MB, free: 63.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3244, allocations: 155.5 kB / 492.7 MB, free: 63.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.3278, allocations: 4.103 MB / 496.8 MB, free: 59.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3279, allocations: 65.7 kB / 496.8 MB, free: 59.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008622/0.3288, allocations: 3.558 MB / 0.4887 GB, free: 56.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.3292, allocations: 0.9093 MB / 0.4895 GB, free: 55.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.3302, allocations: 1.467 MB / 0.491 GB, free: 54.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.24e-05/0.3302, allocations: 305.1 kB / 0.4913 GB, free: 53.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.3326, allocations: 3.3 MB / 0.4945 GB, free: 50.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.3357, allocations: 7.245 MB / 0.5016 GB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.3421, allocations: 11.34 MB / 0.5126 GB, free: 28.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.3421, allocations: 36 kB / 0.5127 GB, free: 28.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.009164/0.3513, allocations: 11.44 MB / 0.5238 GB, free: 16.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.3513, allocations: 64 kB / 0.5239 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-05/0.3514, allocations: 140.9 kB / 0.524 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.3527, allocations: 1.121 MB / 0.5251 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/0.3554, allocations: 1.758 MB / 0.5268 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.3598, allocations: 6.174 MB / 0.5329 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.3623, allocations: 439.7 kB / 0.5333 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.3627, allocations: 459.8 kB / 0.5337 GB, free: 6.625 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.002189/0.3648, allocations: 2.33 MB / 0.536 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.3652, allocations: 373.5 kB / 0.5364 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005588/0.3708, allocations: 6.12 MB / 0.5423 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.3708, allocations: 24 kB / 0.5424 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.3708, allocations: 4 kB / 0.5424 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.3708, allocations: 11.97 kB / 0.5424 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.3831, allocations: 11.42 MB / 0.5535 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.3831, allocations: 4.312 kB / 0.5535 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.3845, allocations: 0.5695 MB / 0.5541 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3859, allocations: 0.9456 MB / 0.555 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/0.3862, allocations: 95.89 kB / 0.5551 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004815/0.391, allocations: 5.914 MB / 0.5609 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.391, allocations: 4.047 kB / 0.5609 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009656/0.4007, allocations: 10.38 MB / 0.571 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.4021, allocations: 0.798 MB / 0.5718 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.4024, allocations: 48 kB / 0.5719 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4035, allocations: 198.5 kB / 0.572 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.4038, allocations: 201.6 kB / 0.5722 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.404, allocations: 119.8 kB / 0.5724 GB, free: 14.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002332/0.4063, allocations: 2.388 MB / 0.5747 GB, free: 12.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4063, allocations: 0 / 0.5747 GB, free: 12.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003382/0.4097, allocations: 1.238 MB / 0.5759 GB, free: 11.27 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.0004115/0.4101, allocations: 210.5 kB / 0.5761 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00764/0.4178, allocations: 7.529 MB / 0.5834 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4178, allocations: 0 / 0.5834 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.4204, allocations: 2.821 MB / 0.5862 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.4221, allocations: 444.3 kB / 0.5866 GB, free: 304 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.4355, allocations: 12.35 MB / 0.5987 GB, free: 3.879 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/0.4379, allocations: 3.104 MB / 0.6017 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.4392, allocations: 0.4923 MB / 0.6022 GB, free: 256 kB / 474.7 MB Notification: Performance of SimCode: time 1.823e-06/0.4392, allocations: 0 / 0.6022 GB, free: 256 kB / 474.7 MB Notification: Performance of Templates: time 0.2047/0.6439, allocations: 94.12 MB / 0.6941 GB, free: 143.7 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.107893251813948]