Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 74.56 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 145.7 kB / 24.48 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 173.4 MB / 201.1 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 51.97 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09185, allocations: 52.15 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01312/0.105, allocations: 9.795 MB / 381.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00773/0.1127, allocations: 3.633 MB / 385 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1138, allocations: 71.69 kB / 385.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005073/0.1189, allocations: 2.632 MB / 387.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.123, allocations: 1.856 MB / 389.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1243, allocations: 0.5771 MB / 390.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.1289, allocations: 3.582 MB / 393.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.1321, allocations: 2.748 MB / 396.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.134, allocations: 1.491 MB / 398 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.1369, allocations: 2.044 MB / 400 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000596/0.1375, allocations: 320 kB / 400.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1393, allocations: 0.9635 MB / 401.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.1411, allocations: 1.885 MB / 403.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.1429, allocations: 1.576 MB / 404.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007454/0.1504, allocations: 6.856 MB / 411.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1504, allocations: 0 / 411.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1504, allocations: 4 kB / 411.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.373e-05/0.1505, allocations: 0 / 411.6 MB, free: 15.14 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01752/0.168, allocations: 5.296 MB / 416.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1681, allocations: 8.922 kB / 416.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.175, allocations: 1.925 MB / 418.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.1799, allocations: 2.232 MB / 421.1 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.1801, allocations: 225.8 kB / 421.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006793/0.1808, allocations: 307.8 kB / 421.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.2001, allocations: 10.29 MB / 431.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.2002, allocations: 47.64 kB / 431.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.2006, allocations: 147.9 kB / 432.1 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003466/0.2041, allocations: 1.864 MB / 433.9 MB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.2233, allocations: 9.186 MB / 443.1 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2319/0.4552, allocations: 35.82 MB / 478.9 MB, free: 64.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.4682, allocations: 3.229 MB / 482.1 MB, free: 64.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.4702, allocations: 1.575 MB / 483.7 MB, free: 64.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/0.4707, allocations: 120.8 kB / 483.8 MB, free: 64.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4707, allocations: 54.8 kB / 483.9 MB, free: 64.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.537e-06/0.4707, allocations: 0 / 483.9 MB, free: 64.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.03753/0.5082, allocations: 13.28 MB / 497.2 MB, free: 61.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5083, allocations: 142.9 kB / 497.3 MB, free: 61.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/0.5117, allocations: 3.754 MB / 0.4893 GB, free: 59.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.745e-05/0.5118, allocations: 47.77 kB / 0.4894 GB, free: 59.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.5129, allocations: 3.199 MB / 0.4925 GB, free: 57.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.5133, allocations: 0.5657 MB / 0.493 GB, free: 56.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.5143, allocations: 1.194 MB / 0.4942 GB, free: 55.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.5144, allocations: 301.1 kB / 0.4945 GB, free: 55.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.5164, allocations: 1.963 MB / 0.4964 GB, free: 53.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.5196, allocations: 5.674 MB / 0.502 GB, free: 46.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005775/0.5254, allocations: 8.275 MB / 0.51 GB, free: 36.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.392e-05/0.5254, allocations: 40 kB / 0.5101 GB, free: 36.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01002/0.5354, allocations: 8.074 MB / 0.518 GB, free: 28.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.5355, allocations: 68 kB / 0.518 GB, free: 28.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.008e-05/0.5356, allocations: 136 kB / 0.5182 GB, free: 27.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.5377, allocations: 0.9022 MB / 0.519 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.5409, allocations: 1.329 MB / 0.5203 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.5461, allocations: 5.017 MB / 0.5252 GB, free: 20.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.5494, allocations: 319.8 kB / 0.5255 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.5497, allocations: 375.4 kB / 0.5259 GB, free: 19.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.002096/0.5518, allocations: 2.017 MB / 0.5279 GB, free: 17.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.5522, allocations: 309.9 kB / 0.5282 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.5565, allocations: 2.716 MB / 0.5308 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5566, allocations: 16.47 kB / 0.5308 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.5566, allocations: 11.94 kB / 0.5308 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5566, allocations: 7.969 kB / 0.5308 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008885/0.5655, allocations: 6.14 MB / 0.5368 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5655, allocations: 4 kB / 0.5368 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/0.5664, allocations: 227.6 kB / 0.5371 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.5683, allocations: 0.7148 MB / 0.5378 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.5684, allocations: 35.97 kB / 0.5378 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.573, allocations: 4.577 MB / 0.5423 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.573, allocations: 4.031 kB / 0.5423 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006748/0.5798, allocations: 5.06 MB / 0.5472 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.5804, allocations: 277.8 kB / 0.5475 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.5806, allocations: 23.98 kB / 0.5475 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.5818, allocations: 75.91 kB / 0.5476 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.582, allocations: 100.3 kB / 0.5477 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.5822, allocations: 52.84 kB / 0.5477 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003382/0.5855, allocations: 2.158 MB / 0.5498 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5855, allocations: 0 / 0.5498 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004075/0.5896, allocations: 0.8983 MB / 0.5507 GB, free: 10.37 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.0003304/0.5899, allocations: 154.6 kB / 0.5508 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006791/0.5967, allocations: 4.537 MB / 0.5553 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5967, allocations: 0 / 0.5553 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.5986, allocations: 1.275 MB / 0.5565 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.6004, allocations: 377.5 kB / 0.5569 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.6129, allocations: 8.546 MB / 0.5652 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/0.6162, allocations: 2.567 MB / 0.5677 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00377/0.62, allocations: 1.78 MB / 0.5695 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.6206, allocations: 260.4 kB / 0.5697 GB, free: 6.844 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6206, allocations: 0 / 0.5697 GB, free: 6.844 MB / 462.1 MB Notification: Performance of Templates: time 0.06057/0.6811, allocations: 28.06 MB / 0.5971 GB, free: 11.25 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.225419997004792]