Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001646/0.001646, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.00183/0.00183, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 60.77 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3065, allocations: 53.38 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01393/0.3204, allocations: 11.07 MB / 443.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008679/0.3291, allocations: 3.874 MB / 447.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.3308, allocations: 71.69 kB / 447.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.3362, allocations: 2.733 MB / 450.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.341, allocations: 1.79 MB / 451.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3426, allocations: 0.5848 MB / 452.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.3485, allocations: 3.574 MB / 456.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003953/0.3524, allocations: 2.736 MB / 458.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.3551, allocations: 1.468 MB / 460.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.3591, allocations: 2.146 MB / 462.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008454/0.3599, allocations: 316 kB / 462.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.3625, allocations: 1.073 MB / 463.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002522/0.3651, allocations: 1.839 MB / 465.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.3682, allocations: 2.082 MB / 467.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.3787, allocations: 6.675 MB / 474.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.3787, allocations: 0 / 474.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3787, allocations: 0 / 474.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002723/0.3789, allocations: 4 kB / 474.4 MB, free: 12.75 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02042/0.3994, allocations: 5.093 MB / 479.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3994, allocations: 8.031 kB / 479.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007383/0.4068, allocations: 1.878 MB / 481.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/0.4124, allocations: 2.181 MB / 483.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.4126, allocations: 221.7 kB / 483.8 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008565/0.4135, allocations: 295.8 kB / 484.1 MB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.4352, allocations: 10.02 MB / 494.1 MB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.4353, allocations: 51.64 kB / 494.2 MB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004405/0.4358, allocations: 143.9 kB / 494.3 MB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003319/0.4391, allocations: 1.801 MB / 496.1 MB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.46, allocations: 8.97 MB / 0.4932 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.5126, allocations: 37.67 MB / 0.53 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.5256, allocations: 3.027 MB / 0.533 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.5282, allocations: 1.575 MB / 0.5345 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/0.5287, allocations: 124.5 kB / 0.5346 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.5288, allocations: 59.09 kB / 0.5347 GB, free: 1.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.088e-06/0.5288, allocations: 0 / 0.5347 GB, free: 1.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2623/0.7911, allocations: 12.73 MB / 0.5471 GB, free: 97.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.7911, allocations: 140.9 kB / 0.5473 GB, free: 97.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.7952, allocations: 4.07 MB / 0.5512 GB, free: 95.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7953, allocations: 41.52 kB / 0.5513 GB, free: 95.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.7965, allocations: 3.131 MB / 0.5543 GB, free: 93.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.797, allocations: 0.5661 MB / 0.5549 GB, free: 93.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.7981, allocations: 1.18 MB / 0.556 GB, free: 92.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.7982, allocations: 309.1 kB / 0.5563 GB, free: 92.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.8008, allocations: 1.959 MB / 0.5582 GB, free: 91.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.8044, allocations: 5.649 MB / 0.5638 GB, free: 84.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/0.8112, allocations: 8.26 MB / 0.5718 GB, free: 74.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.3e-05/0.8113, allocations: 39.98 kB / 0.5719 GB, free: 74.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01242/0.8237, allocations: 8.081 MB / 0.5798 GB, free: 66.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.8238, allocations: 63.98 kB / 0.5798 GB, free: 66.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.55e-05/0.8239, allocations: 135.9 kB / 0.58 GB, free: 65.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.826, allocations: 0.9153 MB / 0.5808 GB, free: 65.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/0.8294, allocations: 1.314 MB / 0.5821 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.8346, allocations: 5.078 MB / 0.5871 GB, free: 58.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.8384, allocations: 315.6 kB / 0.5874 GB, free: 58.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/0.8388, allocations: 364 kB / 0.5877 GB, free: 57.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (699): * Single equations (assignments): 695 * 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.002122/0.8409, allocations: 1.985 MB / 0.5897 GB, free: 55.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.8414, allocations: 349.6 kB / 0.59 GB, free: 55.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.8456, allocations: 2.755 MB / 0.5927 GB, free: 52.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.8457, allocations: 16 kB / 0.5927 GB, free: 52.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8457, allocations: 8 kB / 0.5927 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.8457, allocations: 6.234 kB / 0.5927 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009322/0.855, allocations: 7.026 MB / 0.5996 GB, free: 45.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.855, allocations: 8 kB / 0.5996 GB, free: 45.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/0.856, allocations: 211.8 kB / 0.5998 GB, free: 45.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.8578, allocations: 0.7202 MB / 0.6005 GB, free: 44.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.339e-05/0.8579, allocations: 39.8 kB / 0.6005 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.8626, allocations: 4.629 MB / 0.6051 GB, free: 39.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8626, allocations: 8.094 kB / 0.6051 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/0.8687, allocations: 5.102 MB / 0.6101 GB, free: 34.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.8696, allocations: 333.6 kB / 0.6104 GB, free: 34.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.8699, allocations: 16 kB / 0.6104 GB, free: 34.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.871, allocations: 75.91 kB / 0.6105 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.8713, allocations: 92.36 kB / 0.6105 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.8714, allocations: 47.97 kB / 0.6106 GB, free: 34.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003181/0.8745, allocations: 2.529 MB / 0.6131 GB, free: 31.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8745, allocations: 4 kB / 0.6131 GB, free: 31.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004294/0.8788, allocations: 0.8833 MB / 0.6139 GB, free: 30.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003752/0.8792, allocations: 157.9 kB / 0.6141 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00563/0.8848, allocations: 4.529 MB / 0.6185 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8848, allocations: 4.25 kB / 0.6185 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.8863, allocations: 1.267 MB / 0.6197 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.8885, allocations: 421.3 kB / 0.6201 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.8996, allocations: 8.533 MB / 0.6285 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/0.9019, allocations: 3.056 MB / 0.6315 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003284/0.9052, allocations: 1.846 MB / 0.6333 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.9057, allocations: 255.3 kB / 0.6335 GB, free: 10.69 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.9057, allocations: 7.938 kB / 0.6335 GB, free: 10.68 MB / 446.1 MB Notification: Performance of Templates: time 0.07019/0.9759, allocations: 35.87 MB / 0.6685 GB, free: 7.082 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 6.650275155901909]