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.0008223/0.0008223, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00326/0.00326, allocations: 143.6 kB / 24.68 MB, free: 8.891 MB / 18.57 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 0.8495/0.8495, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.045e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007174/0.007194, allocations: 9.79 MB / 329.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.01239, allocations: 3.648 MB / 333.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.01353, allocations: 75.62 kB / 333.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.01787, allocations: 2.76 MB / 336 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.02161, allocations: 1.928 MB / 337.9 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.02267, allocations: 0.612 MB / 338.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004092/0.02676, allocations: 3.95 MB / 342.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.02962, allocations: 3.028 MB / 345.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.03204, allocations: 2.222 MB / 347.7 MB, free: 9.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.03469, allocations: 2.135 MB / 349.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.03507, allocations: 324 kB / 350.1 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.03671, allocations: 1.014 MB / 351.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.03823, allocations: 1.963 MB / 353.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.03942, allocations: 1.227 MB / 354.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006769/0.04619, allocations: 6.853 MB / 361.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.0462, allocations: 0 / 361.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.0462, allocations: 0 / 361.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.749e-05/0.04626, allocations: 0 / 361.2 MB, free: 12.14 MB / 330.7 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.008312/0.05457, allocations: 5.312 MB / 366.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.05461, allocations: 8.922 kB / 366.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.05786, allocations: 1.917 MB / 368.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.06041, allocations: 2.185 MB / 370.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.06052, allocations: 233.9 kB / 370.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/0.06087, allocations: 299.8 kB / 371.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009408/0.07028, allocations: 10.29 MB / 381.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-05/0.07035, allocations: 47.62 kB / 381.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.07062, allocations: 147.9 kB / 381.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.07228, allocations: 1.864 MB / 383.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.08348, allocations: 9.201 MB / 392.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.1114, allocations: 35.9 MB / 428.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.1178, allocations: 3.226 MB / 431.8 MB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.1192, allocations: 1.579 MB / 433.4 MB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.1194, allocations: 136.4 kB / 433.5 MB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1195, allocations: 43.22 kB / 433.6 MB, free: 1.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.878e-06/0.1195, allocations: 0 / 433.6 MB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.02304/0.1425, allocations: 13.41 MB / 447 MB, free: 4.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.1426, allocations: 145.2 kB / 447.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.1461, allocations: 3.843 MB / 451 MB, free: 344 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.1461, allocations: 41.7 kB / 451 MB, free: 296 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1698/0.3159, allocations: 3.159 MB / 454.2 MB, free: 118.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.3166, allocations: 0.5574 MB / 454.7 MB, free: 118.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.3179, allocations: 1.176 MB / 455.9 MB, free: 117.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.3179, allocations: 308.8 kB / 456.2 MB, free: 117.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.3195, allocations: 1.97 MB / 458.2 MB, free: 116.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.3219, allocations: 5.679 MB / 463.9 MB, free: 111 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.3263, allocations: 8.295 MB / 472.2 MB, free: 104.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/0.3263, allocations: 42.94 kB / 472.2 MB, free: 104.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.006822/0.3332, allocations: 8.079 MB / 480.3 MB, free: 97.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.3332, allocations: 66.59 kB / 480.3 MB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.3333, allocations: 132 kB / 480.5 MB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.3345, allocations: 0.9122 MB / 481.4 MB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3362, allocations: 1.326 MB / 482.7 MB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.3397, allocations: 5.022 MB / 487.7 MB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.3418, allocations: 344 kB / 488.1 MB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.3421, allocations: 368 kB / 488.4 MB, free: 89.2 MB / 410.7 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.001807/0.3439, allocations: 2.023 MB / 490.4 MB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.3441, allocations: 317.9 kB / 490.8 MB, free: 86.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.3466, allocations: 2.719 MB / 493.5 MB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.3466, allocations: 16 kB / 493.5 MB, free: 84.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3466, allocations: 4 kB / 493.5 MB, free: 84.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3466, allocations: 7.984 kB / 493.5 MB, free: 84.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.3523, allocations: 6.237 MB / 499.7 MB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3523, allocations: 4 kB / 499.7 MB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3528, allocations: 223.8 kB / 500 MB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.3538, allocations: 0.7184 MB / 0.4889 GB, free: 77.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.3539, allocations: 35.97 kB / 0.489 GB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.3569, allocations: 4.606 MB / 0.4935 GB, free: 72.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3569, allocations: 6.234 kB / 0.4935 GB, free: 72.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.3607, allocations: 5.074 MB / 0.4984 GB, free: 67.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.3611, allocations: 301.8 kB / 0.4987 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.3612, allocations: 23.98 kB / 0.4987 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.3619, allocations: 102 kB / 0.4988 GB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.362, allocations: 96.47 kB / 0.4989 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.3621, allocations: 47.42 kB / 0.499 GB, free: 66.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001812/0.3639, allocations: 2.228 MB / 0.5012 GB, free: 64.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3639, allocations: 0 / 0.5012 GB, free: 64.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002967/0.3669, allocations: 0.9803 MB / 0.5021 GB, free: 63.42 MB / 410.7 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.0003294/0.3672, allocations: 178.6 kB / 0.5023 GB, free: 63.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.3711, allocations: 4.546 MB / 0.5067 GB, free: 58.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3711, allocations: 4 kB / 0.5067 GB, free: 58.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.372, allocations: 1.276 MB / 0.508 GB, free: 57.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3732, allocations: 381.8 kB / 0.5083 GB, free: 57.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/0.3805, allocations: 8.967 MB / 0.5171 GB, free: 48.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.3822, allocations: 2.55 MB / 0.5196 GB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.3826, allocations: 304.4 kB / 0.5199 GB, free: 45.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3826, allocations: 0 / 0.5199 GB, free: 45.18 MB / 410.7 MB Notification: Performance of Templates: time 0.05832/0.4409, allocations: 72.71 MB / 0.5909 GB, free: 4.523 MB / 442.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/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: 8.304191892966628]