Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 107 kB / 21.18 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 208.2 kB / 24.48 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 230.6 MB / 258.2 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 51.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3766, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0134/0.39, allocations: 9.673 MB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008722/0.3987, allocations: 3.641 MB / 445.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.4004, allocations: 79.62 kB / 445.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005534/0.406, allocations: 2.613 MB / 448.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.4111, allocations: 1.802 MB / 450.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4127, allocations: 0.581 MB / 450.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.4182, allocations: 3.578 MB / 454.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/0.4218, allocations: 2.735 MB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.4244, allocations: 1.48 MB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.4276, allocations: 2.138 MB / 460.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007941/0.4284, allocations: 316 kB / 461 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.4306, allocations: 0.9518 MB / 461.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.4326, allocations: 1.842 MB / 463.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.4348, allocations: 1.538 MB / 465.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.444, allocations: 6.704 MB / 472 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.444, allocations: 0 / 472 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.444, allocations: 0 / 472 MB, free: 14.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002378/0.4443, allocations: 0 / 472 MB, free: 14.9 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.01989/0.4642, allocations: 5.089 MB / 477.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4642, allocations: 8.031 kB / 477.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006821/0.471, allocations: 1.878 MB / 479 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00594/0.477, allocations: 2.189 MB / 481.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.4772, allocations: 225.7 kB / 481.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009397/0.4781, allocations: 299.8 kB / 481.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.499, allocations: 10.02 MB / 491.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.4991, allocations: 47.64 kB / 491.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.4995, allocations: 143.9 kB / 491.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003317/0.5028, allocations: 1.805 MB / 493.7 MB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.5231, allocations: 8.943 MB / 0.4908 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/0.5766, allocations: 35.35 MB / 0.5254 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/0.5917, allocations: 3.035 MB / 0.5283 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.5944, allocations: 1.59 MB / 0.5299 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.595, allocations: 116.5 kB / 0.53 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.5951, allocations: 51.16 kB / 0.53 GB, free: 6.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.1e-06/0.5951, allocations: 0 / 0.53 GB, free: 6.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.407/1.002, allocations: 12.74 MB / 0.5425 GB, free: 99.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.002, allocations: 142.2 kB / 0.5426 GB, free: 99.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/1.007, allocations: 3.733 MB / 0.5463 GB, free: 98.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/1.007, allocations: 45.7 kB / 0.5463 GB, free: 98.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.009, allocations: 3.164 MB / 0.5494 GB, free: 95.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/1.009, allocations: 0.5665 MB / 0.5499 GB, free: 95.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/1.011, allocations: 1.175 MB / 0.5511 GB, free: 94.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/1.011, allocations: 308.8 kB / 0.5514 GB, free: 94.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/1.013, allocations: 1.958 MB / 0.5533 GB, free: 93.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003537/1.017, allocations: 5.649 MB / 0.5588 GB, free: 88.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007131/1.024, allocations: 8.252 MB / 0.5669 GB, free: 78.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.024, allocations: 36 kB / 0.5669 GB, free: 78.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01335/1.037, allocations: 8.05 MB / 0.5748 GB, free: 71.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/1.037, allocations: 66.66 kB / 0.5748 GB, free: 71.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.037, allocations: 132 kB / 0.575 GB, free: 71.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/1.04, allocations: 0.9037 MB / 0.5758 GB, free: 70.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.043, allocations: 1.318 MB / 0.5771 GB, free: 68.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/1.049, allocations: 5.023 MB / 0.582 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.054, allocations: 307.8 kB / 0.5823 GB, free: 63.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008814/1.054, allocations: 367.4 kB / 0.5827 GB, free: 63.18 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.004217/1.059, allocations: 1.982 MB / 0.5846 GB, free: 61.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.06, allocations: 309.9 kB / 0.5849 GB, free: 60.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.065, allocations: 2.715 MB / 0.5876 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.065, allocations: 16.69 kB / 0.5876 GB, free: 58.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.065, allocations: 4 kB / 0.5876 GB, free: 58.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.065, allocations: 3.984 kB / 0.5876 GB, free: 58.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.076, allocations: 6.095 MB / 0.5935 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.076, allocations: 4.594 kB / 0.5935 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009872/1.077, allocations: 211.7 kB / 0.5937 GB, free: 51.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.079, allocations: 0.7148 MB / 0.5944 GB, free: 51.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.079, allocations: 35.97 kB / 0.5945 GB, free: 51.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/1.084, allocations: 4.586 MB / 0.5989 GB, free: 46.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.084, allocations: 7.875 kB / 0.599 GB, free: 46.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/1.09, allocations: 5.053 MB / 0.6039 GB, free: 41.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.091, allocations: 273.8 kB / 0.6041 GB, free: 41.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.092, allocations: 27.94 kB / 0.6042 GB, free: 40.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.093, allocations: 67.91 kB / 0.6042 GB, free: 40.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.093, allocations: 88.48 kB / 0.6043 GB, free: 40.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.093, allocations: 47.97 kB / 0.6044 GB, free: 40.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002716/1.096, allocations: 2.15 MB / 0.6065 GB, free: 38.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 0 / 0.6065 GB, free: 38.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004986/1.101, allocations: 0.8787 MB / 0.6073 GB, free: 37.77 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.0004014/1.101, allocations: 150.9 kB / 0.6075 GB, free: 37.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006018/1.107, allocations: 4.531 MB / 0.6119 GB, free: 33.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.107, allocations: 0.8125 kB / 0.6119 GB, free: 33.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.109, allocations: 1.277 MB / 0.6131 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/1.111, allocations: 360.8 kB / 0.6135 GB, free: 31.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.123, allocations: 8.45 MB / 0.6217 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/1.126, allocations: 2.522 MB / 0.6242 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003353/1.129, allocations: 1.776 MB / 0.6259 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.129, allocations: 231.3 kB / 0.6262 GB, free: 18.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/1.129, allocations: 3.938 kB / 0.6262 GB, free: 18.42 MB / 446.1 MB Notification: Performance of Templates: time 0.06721/1.197, allocations: 34.45 MB / 0.6598 GB, free: 444 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.4438475210045]