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.001018/0.001018, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001048/0.001048, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.9637/0.9637, allocations: 177 MB / 205.2 MB, free: 5.609 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.751e-05, allocations: 2.312 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009887/0.009904, allocations: 12.62 MB / 285.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.01587, allocations: 4.217 MB / 289.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.01675, allocations: 99.56 kB / 289.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.113/0.1297, allocations: 3.97 MB / 293.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.1337, allocations: 2.109 MB / 296 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1348, allocations: 0.7581 MB / 296.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.1385, allocations: 4.634 MB / 301.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.1418, allocations: 3.989 MB / 305.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.1442, allocations: 2.779 MB / 308.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.1463, allocations: 2.603 MB / 310.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004988/0.1468, allocations: 413 kB / 311.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1479, allocations: 1.087 MB / 312.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009455/0.1489, allocations: 2.361 MB / 314.6 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.1499, allocations: 1.524 MB / 316.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.1536, allocations: 5.12 MB / 321.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1536, allocations: 0 / 321.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1536, allocations: 0 / 321.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.1537, allocations: 0 / 321.3 MB, free: 15.41 MB / 282.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.01068/0.1644, allocations: 6.779 MB / 328 MB, free: 8.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1644, allocations: 11.98 kB / 328.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.1689, allocations: 2.508 MB / 330.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.1715, allocations: 2.435 MB / 333 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1716, allocations: 292.8 kB / 333.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.172, allocations: 390.8 kB / 333.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/0.1811, allocations: 7.285 MB / 340.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.65e-05/0.1812, allocations: 47.44 kB / 341 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.1816, allocations: 192.2 kB / 341.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/0.1841, allocations: 2.184 MB / 343.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.1943, allocations: 4.249 MB / 347.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/0.2332, allocations: 48.43 MB / 396 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.2439, allocations: 2.715 MB / 398.8 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.2454, allocations: 0.9171 MB / 399.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/0.2457, allocations: 149 kB / 399.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.2458, allocations: 58.64 kB / 399.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 5.129e-06/0.2458, allocations: 0 / 399.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.03738/0.2832, allocations: 16.97 MB / 416.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2832, allocations: 154.5 kB / 417 MB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.2863, allocations: 3.69 MB / 420.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.2865, allocations: 61.7 kB / 420.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.2883, allocations: 3.732 MB / 424.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.2889, allocations: 0.9488 MB / 425.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.2902, allocations: 1.571 MB / 427 MB, free: 4.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.2903, allocations: 476.8 kB / 427.5 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.2918, allocations: 0.9186 MB / 428.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1095/0.4012, allocations: 6.749 MB / 435.1 MB, free: 109.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/0.4073, allocations: 8.514 MB / 443.7 MB, free: 101.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.57e-05/0.4073, allocations: 44.95 kB / 443.7 MB, free: 101.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.009448/0.4168, allocations: 6.73 MB / 450.4 MB, free: 100.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.4168, allocations: 68.69 kB / 450.5 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.276e-05/0.4169, allocations: 138.5 kB / 450.6 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.4183, allocations: 0.6756 MB / 451.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.4212, allocations: 1.763 MB / 453.1 MB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.4239, allocations: 3.344 MB / 456.4 MB, free: 98.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.4263, allocations: 434.1 kB / 456.8 MB, free: 98.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.4267, allocations: 468 kB / 457.3 MB, free: 98.44 MB / 378.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.001194/0.4279, allocations: 0.7123 MB / 458 MB, free: 98.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005047/0.4284, allocations: 446.5 kB / 458.4 MB, free: 98.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.4321, allocations: 2.776 MB / 461.2 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4321, allocations: 28.14 kB / 461.2 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4322, allocations: 3.875 kB / 461.3 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4322, allocations: 11.64 kB / 461.3 MB, free: 97.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008483/0.4406, allocations: 7.311 MB / 468.6 MB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.4407, allocations: 7.938 kB / 468.6 MB, free: 93.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.442, allocations: 0.5669 MB / 469.1 MB, free: 93.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.4431, allocations: 0.4952 MB / 469.6 MB, free: 92.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.4433, allocations: 99.42 kB / 469.7 MB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.4457, allocations: 3.066 MB / 472.8 MB, free: 90.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4457, allocations: 8 kB / 472.8 MB, free: 90 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/0.4505, allocations: 4.028 MB / 476.8 MB, free: 86.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/0.4513, allocations: 0.7533 MB / 477.6 MB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.4516, allocations: 46.19 kB / 477.6 MB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.4527, allocations: 187.8 kB / 477.8 MB, free: 85.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/0.453, allocations: 209.5 kB / 478 MB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.4531, allocations: 115.9 kB / 478.1 MB, free: 85.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.4545, allocations: 1.581 MB / 479.7 MB, free: 83.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4545, allocations: 0 / 479.7 MB, free: 83.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003226/0.4577, allocations: 1.243 MB / 481 MB, free: 82.22 MB / 378.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.0003641/0.458, allocations: 213.7 kB / 481.2 MB, free: 82.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004311/0.4624, allocations: 3.906 MB / 485.1 MB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4624, allocations: 2.297 kB / 485.1 MB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.4638, allocations: 1.295 MB / 486.4 MB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.4653, allocations: 0.5033 MB / 486.9 MB, free: 76.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/0.4747, allocations: 9.201 MB / 496.1 MB, free: 67.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009115/0.4756, allocations: 1.423 MB / 497.5 MB, free: 65.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002424/0.478, allocations: 1.865 MB / 499.4 MB, free: 63.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/0.4789, allocations: 452.1 kB / 499.8 MB, free: 63.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4789, allocations: 0.6562 kB / 499.8 MB, free: 63.28 MB / 378.7 MB Notification: Performance of Templates: time 0.04993/0.5288, allocations: 49.53 MB / 0.5365 GB, free: 14.26 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.160537674790248]