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.001542/0.001542, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001781/0.001781, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.662/1.662, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001573/0.001573, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2285, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01197/0.2405, allocations: 9.665 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007063/0.2476, allocations: 3.653 MB / 445.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/0.2483, allocations: 79.62 kB / 445.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.2532, allocations: 2.609 MB / 448.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.2567, allocations: 1.802 MB / 450.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2578, allocations: 0.5849 MB / 450.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.2619, allocations: 3.57 MB / 454.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.2649, allocations: 2.747 MB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.2665, allocations: 1.468 MB / 458.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.2691, allocations: 2.146 MB / 460.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.2696, allocations: 316 kB / 461 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2713, allocations: 0.9518 MB / 461.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.2729, allocations: 1.839 MB / 463.7 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.2745, allocations: 1.542 MB / 465.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.2813, allocations: 6.696 MB / 472 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2813, allocations: 7.938 kB / 472 MB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2813, allocations: 0 / 472 MB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.591e-05/0.2814, allocations: 0 / 472 MB, free: 14.88 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.01768/0.2991, allocations: 5.096 MB / 477.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2991, allocations: 12.03 kB / 477.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/0.3059, allocations: 1.874 MB / 479 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.3108, allocations: 2.181 MB / 481.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.311, allocations: 221.7 kB / 481.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/0.3117, allocations: 295.8 kB / 481.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.3312, allocations: 10.03 MB / 491.7 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.3313, allocations: 39.64 kB / 491.7 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004435/0.3318, allocations: 147.9 kB / 491.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003426/0.3352, allocations: 1.805 MB / 493.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.3543, allocations: 8.943 MB / 0.4908 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04723/0.4015, allocations: 35.34 MB / 0.5254 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/0.4162, allocations: 3.039 MB / 0.5283 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.4186, allocations: 1.575 MB / 0.5299 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.4191, allocations: 124.6 kB / 0.53 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.4191, allocations: 51.2 kB / 0.53 GB, free: 6.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.928e-06/0.4191, allocations: 3.938 kB / 0.53 GB, free: 6.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2308/0.6499, allocations: 12.74 MB / 0.5425 GB, free: 99.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.65, allocations: 149.5 kB / 0.5426 GB, free: 98.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.6541, allocations: 3.726 MB / 0.5462 GB, free: 97.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.6542, allocations: 45.61 kB / 0.5463 GB, free: 97.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.6554, allocations: 3.16 MB / 0.5494 GB, free: 95.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.6558, allocations: 0.5652 MB / 0.5499 GB, free: 94.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.6569, allocations: 1.176 MB / 0.5511 GB, free: 94.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.657, allocations: 308.7 kB / 0.5514 GB, free: 94.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.6591, allocations: 1.957 MB / 0.5533 GB, free: 93.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/0.6623, allocations: 5.658 MB / 0.5588 GB, free: 87.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005947/0.6683, allocations: 8.256 MB / 0.5669 GB, free: 78.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-05/0.6683, allocations: 36 kB / 0.5669 GB, free: 78.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01144/0.6798, allocations: 8.048 MB / 0.5748 GB, free: 70.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.6799, allocations: 60.94 kB / 0.5748 GB, free: 70.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/0.68, allocations: 132 kB / 0.5749 GB, free: 70.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.6822, allocations: 0.9027 MB / 0.5758 GB, free: 69.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.6858, allocations: 1.318 MB / 0.5771 GB, free: 68.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.691, allocations: 5.018 MB / 0.582 GB, free: 63.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/0.695, allocations: 311.7 kB / 0.5823 GB, free: 62.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/0.6957, allocations: 372 kB / 0.5827 GB, free: 62.57 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.002685/0.6983, allocations: 1.977 MB / 0.5846 GB, free: 60.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.699, allocations: 305.9 kB / 0.5849 GB, free: 60.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.7034, allocations: 2.719 MB / 0.5875 GB, free: 57.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.7034, allocations: 16 kB / 0.5876 GB, free: 57.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7034, allocations: 4 kB / 0.5876 GB, free: 57.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.7034, allocations: 3.984 kB / 0.5876 GB, free: 57.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00989/0.7133, allocations: 6.092 MB / 0.5935 GB, free: 51.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7133, allocations: 4.594 kB / 0.5935 GB, free: 51.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.7144, allocations: 219.8 kB / 0.5937 GB, free: 51.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.7164, allocations: 0.7108 MB / 0.5944 GB, free: 50.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.7165, allocations: 36.78 kB / 0.5945 GB, free: 50.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.7212, allocations: 4.578 MB / 0.5989 GB, free: 45.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7212, allocations: 7.875 kB / 0.5989 GB, free: 45.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/0.7275, allocations: 5.051 MB / 0.6039 GB, free: 40.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/0.7284, allocations: 277.8 kB / 0.6041 GB, free: 40.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.7287, allocations: 27.92 kB / 0.6042 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7298, allocations: 71.92 kB / 0.6042 GB, free: 40.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.73, allocations: 92.47 kB / 0.6043 GB, free: 40.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.7301, allocations: 51.97 kB / 0.6044 GB, free: 40.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.7325, allocations: 2.15 MB / 0.6065 GB, free: 38.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7325, allocations: 3.938 kB / 0.6065 GB, free: 38.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004195/0.7367, allocations: 0.871 MB / 0.6073 GB, free: 37.17 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.0003425/0.737, allocations: 161.1 kB / 0.6075 GB, free: 37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005468/0.7425, allocations: 4.524 MB / 0.6119 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7425, allocations: 8.062 kB / 0.6119 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.7439, allocations: 1.266 MB / 0.6131 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.7459, allocations: 366.3 kB / 0.6135 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.757, allocations: 8.443 MB / 0.6217 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.7594, allocations: 2.526 MB / 0.6242 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003296/0.7627, allocations: 1.78 MB / 0.6259 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.7632, allocations: 235.3 kB / 0.6262 GB, free: 17.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7632, allocations: 3.938 kB / 0.6262 GB, free: 17.82 MB / 446.1 MB Notification: Performance of Templates: time 0.05999/0.8232, allocations: 34.44 MB / 0.6598 GB, free: 15.83 MB / 478.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 gbode -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: 6.248577650010702]