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.0009246/0.0009246, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009571/0.0009571, allocations: 168.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9537/0.9537, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.179e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007343/0.007355, allocations: 10.46 MB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.01186, allocations: 3.877 MB / 287.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.01239, allocations: 75.62 kB / 287.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1022/0.1146, allocations: 2.82 MB / 290.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003751/0.1184, allocations: 1.854 MB / 292.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1194, allocations: 0.6344 MB / 293.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.1233, allocations: 3.968 MB / 297.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.1264, allocations: 3.056 MB / 300.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.129, allocations: 2.249 MB / 302.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.1312, allocations: 2.003 MB / 304.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006446/0.1318, allocations: 313.1 kB / 304.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1331, allocations: 1.011 MB / 305.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008314/0.1339, allocations: 1.912 MB / 307.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.1348, allocations: 1.196 MB / 308.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.1372, allocations: 4.24 MB / 313.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1372, allocations: 0 / 313.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1372, allocations: 0 / 313.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.16e-05/0.1373, allocations: 0 / 313.1 MB, free: 7.266 MB / 266.7 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.003772/0.1411, allocations: 4.43 MB / 317.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1411, allocations: 15.98 kB / 317.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.1433, allocations: 1.05 MB / 318.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.1446, allocations: 1.685 MB / 320.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.1447, allocations: 222.5 kB / 320.5 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.145, allocations: 298.5 kB / 320.8 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.1489, allocations: 4.584 MB / 325.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.149, allocations: 40.86 kB / 325.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.1492, allocations: 147.9 kB / 325.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.1503, allocations: 1.515 MB / 327.1 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.1533, allocations: 2.226 MB / 329.3 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.1694, allocations: 29.22 MB / 358.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.1715, allocations: 1.027 MB / 359.5 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.1717, allocations: 239.6 kB / 359.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.1744, allocations: 2.656 MB / 362.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1745, allocations: 42.83 kB / 362.5 MB, free: 6.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 2.514e-06/0.1745, allocations: 4 kB / 362.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.004174/0.1786, allocations: 2.319 MB / 364.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1787, allocations: 136.5 kB / 364.9 MB, free: 3.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.1808, allocations: 3.181 MB / 368.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.1809, allocations: 37.7 kB / 368.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.182, allocations: 3.049 MB / 371.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.1822, allocations: 440.9 kB / 371.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007256/0.1829, allocations: 1.08 MB / 372.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.183, allocations: 301.1 kB / 373 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.1838, allocations: 0.6318 MB / 373.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.1861, allocations: 4.337 MB / 378 MB, free: 5.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.1894, allocations: 5.523 MB / 383.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/0.1894, allocations: 40 kB / 383.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.003456/0.1929, allocations: 3.86 MB / 387.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.1929, allocations: 67.98 kB / 387.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.322e-05/0.193, allocations: 136 kB / 387.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.1932, allocations: 219.6 kB / 387.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.1951, allocations: 1.334 MB / 389.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008262/0.1959, allocations: 1.51 MB / 390.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.1974, allocations: 259.7 kB / 390.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.1976, allocations: 319.9 kB / 391.2 MB, free: 5.891 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (703): * Single equations (assignments): 699 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006844/0.1983, allocations: 0.6028 MB / 391.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.1985, allocations: 175.8 kB / 392 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.199, allocations: 489.4 kB / 392.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.199, allocations: 15.94 kB / 392.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.199, allocations: 3.984 kB / 392.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.199, allocations: 8 kB / 392.5 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.2017, allocations: 2.788 MB / 395.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2018, allocations: 8.031 kB / 395.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.2021, allocations: 139.8 kB / 395.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.2022, allocations: 43.64 kB / 395.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.2023, allocations: 23.91 kB / 395.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008242/0.2031, allocations: 1.431 MB / 396.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2031, allocations: 4 kB / 396.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.204, allocations: 1.215 MB / 398.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.2042, allocations: 277.9 kB / 398.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.2044, allocations: 12 kB / 398.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2048, allocations: 16 kB / 398.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.2049, allocations: 63.77 kB / 398.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.2049, allocations: 23.98 kB / 398.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008612/0.2058, allocations: 1.139 MB / 399.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2058, allocations: 0 / 399.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002018/0.2078, allocations: 0.832 MB / 400.5 MB, free: 12.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (71): * Single equations (assignments): 67 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/0.208, allocations: 148.1 kB / 400.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.2097, allocations: 2.156 MB / 402.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001378/0.2098, allocations: 101.5 kB / 402.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.2101, allocations: 325.5 kB / 403.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.2113, allocations: 0.5432 MB / 403.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.217, allocations: 6.405 MB / 410.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.2178, allocations: 1.108 MB / 411.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008345/0.2186, allocations: 460 kB / 411.7 MB, free: 1.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.2191, allocations: 485.2 kB / 412.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2191, allocations: 0 / 412.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of Templates: time 0.1239/0.343, allocations: 22.31 MB / 434.5 MB, free: 114 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3560325340367854]