Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001691/0.001691, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001822/0.001822, allocations: 207.1 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003286/0.003286, allocations: 71.89 kB / 378.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2576, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01293/0.2705, allocations: 9.68 MB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008439/0.279, allocations: 3.641 MB / 444.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.2804, allocations: 71.69 kB / 445 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.2855, allocations: 2.613 MB / 447.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.2901, allocations: 1.802 MB / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2915, allocations: 0.5849 MB / 450 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004845/0.2964, allocations: 3.582 MB / 453.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/0.2997, allocations: 2.711 MB / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.3019, allocations: 1.472 MB / 457.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.3047, allocations: 2.024 MB / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.3053, allocations: 316 kB / 460.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.3072, allocations: 0.9401 MB / 461.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.3089, allocations: 1.839 MB / 462.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.3106, allocations: 1.538 MB / 464.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.318, allocations: 6.704 MB / 471.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3181, allocations: 0 / 471.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3181, allocations: 0 / 471.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.3182, allocations: 4 kB / 471.1 MB, free: 14.82 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.01696/0.3352, allocations: 5.089 MB / 476.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3352, allocations: 11.98 kB / 476.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006907/0.3421, allocations: 1.878 MB / 478.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/0.3478, allocations: 2.189 MB / 480.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.348, allocations: 225.7 kB / 480.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006932/0.3487, allocations: 299.8 kB / 480.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.3699, allocations: 10.02 MB / 490.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.3701, allocations: 47.62 kB / 490.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009406/0.3711, allocations: 139.9 kB / 491 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.3745, allocations: 1.801 MB / 492.8 MB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.3933, allocations: 8.957 MB / 0.49 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05116/0.4445, allocations: 35.33 MB / 0.5245 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.4573, allocations: 3.043 MB / 0.5275 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.4598, allocations: 1.571 MB / 0.529 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.4603, allocations: 120.5 kB / 0.5291 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.4603, allocations: 51.22 kB / 0.5292 GB, free: 6.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.198e-06/0.4603, allocations: 0 / 0.5292 GB, free: 6.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.3138/0.7742, allocations: 12.74 MB / 0.5416 GB, free: 98.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.7742, allocations: 145.3 kB / 0.5418 GB, free: 98.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005056/0.7793, allocations: 3.733 MB / 0.5454 GB, free: 97.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.7796, allocations: 41.58 kB / 0.5455 GB, free: 97.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.7811, allocations: 3.156 MB / 0.5485 GB, free: 95.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/0.7816, allocations: 0.5621 MB / 0.5491 GB, free: 94.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.7828, allocations: 1.181 MB / 0.5503 GB, free: 94.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.7828, allocations: 307.6 kB / 0.5505 GB, free: 93.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.785, allocations: 1.959 MB / 0.5525 GB, free: 93.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.7885, allocations: 5.661 MB / 0.558 GB, free: 87.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/0.795, allocations: 8.248 MB / 0.566 GB, free: 78.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.7951, allocations: 47.38 kB / 0.5661 GB, free: 78.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01172/0.8068, allocations: 8.041 MB / 0.5739 GB, free: 70.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.8069, allocations: 64 kB / 0.574 GB, free: 70.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.902e-05/0.807, allocations: 128 kB / 0.5741 GB, free: 70.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.8091, allocations: 0.9101 MB / 0.575 GB, free: 69.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.8123, allocations: 1.322 MB / 0.5763 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.8175, allocations: 5.01 MB / 0.5812 GB, free: 62.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.8218, allocations: 315.7 kB / 0.5815 GB, free: 62.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005898/0.8224, allocations: 367.6 kB / 0.5818 GB, free: 62.3 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.00269/0.8251, allocations: 1.982 MB / 0.5838 GB, free: 60.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.8257, allocations: 313.9 kB / 0.5841 GB, free: 60 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.83, allocations: 2.712 MB / 0.5867 GB, free: 57.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.83, allocations: 20 kB / 0.5867 GB, free: 57.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.83, allocations: 4 kB / 0.5868 GB, free: 57.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.83, allocations: 7.969 kB / 0.5868 GB, free: 57.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.8412, allocations: 6.094 MB / 0.5927 GB, free: 51.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.8412, allocations: 0 / 0.5927 GB, free: 51.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.8421, allocations: 211.7 kB / 0.5929 GB, free: 50.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.8441, allocations: 0.7187 MB / 0.5936 GB, free: 50.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.8442, allocations: 31.97 kB / 0.5936 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/0.849, allocations: 4.578 MB / 0.5981 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8491, allocations: 4.094 kB / 0.5981 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006496/0.8555, allocations: 5.055 MB / 0.6031 GB, free: 40.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.8566, allocations: 277.8 kB / 0.6033 GB, free: 40.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/0.8573, allocations: 31.38 kB / 0.6034 GB, free: 40.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8588, allocations: 67.91 kB / 0.6034 GB, free: 40.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.8591, allocations: 96.42 kB / 0.6035 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8592, allocations: 39.97 kB / 0.6035 GB, free: 39.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003362/0.8625, allocations: 2.15 MB / 0.6056 GB, free: 37.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8625, allocations: 0 / 0.6056 GB, free: 37.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004917/0.8675, allocations: 0.871 MB / 0.6065 GB, free: 36.9 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.0004274/0.8679, allocations: 161.6 kB / 0.6066 GB, free: 36.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00645/0.8743, allocations: 4.524 MB / 0.6111 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8743, allocations: 3.938 kB / 0.6111 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.8758, allocations: 1.272 MB / 0.6123 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.8785, allocations: 376.4 kB / 0.6127 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.8918, allocations: 8.457 MB / 0.6209 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00316/0.895, allocations: 2.514 MB / 0.6234 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003347/0.8984, allocations: 1.785 MB / 0.6251 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.8988, allocations: 231.3 kB / 0.6254 GB, free: 17.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.8988, allocations: 0 / 0.6254 GB, free: 17.54 MB / 446.1 MB Notification: Performance of Templates: time 0.05889/0.9577, allocations: 31.97 MB / 0.6566 GB, free: 2.008 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.601719433441758]