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.001221/0.001221, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001571/0.001571, allocations: 166.1 kB / 24.82 MB, free: 9.258 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 1.017/1.017, allocations: 177 MB / 205.1 MB, free: 5.492 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 2.254e-06/2.254e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.048e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01285/0.01288, allocations: 10.4 MB / 283.7 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008721/0.0216, allocations: 3.718 MB / 287.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.02332, allocations: 71.69 kB / 287.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.02859, allocations: 2.85 MB / 290.4 MB, free: 128 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1226/0.1512, allocations: 1.859 MB / 292.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1525, allocations: 0.6398 MB / 292.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005137/0.1576, allocations: 3.978 MB / 296.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.1616, allocations: 3.08 MB / 299.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.1653, allocations: 2.29 MB / 302.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.1685, allocations: 2.096 MB / 304.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.1701, allocations: 314.9 kB / 304.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.1721, allocations: 0.981 MB / 305.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.1733, allocations: 1.917 MB / 307.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.1747, allocations: 1.195 MB / 308.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.1781, allocations: 4.244 MB / 313 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1781, allocations: 0 / 313 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1781, allocations: 4 kB / 313 MB, free: 7.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.1783, allocations: 0 / 313 MB, free: 7.156 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.005379/0.1836, allocations: 5.243 MB / 318.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1837, allocations: 11.98 kB / 318.2 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.1864, allocations: 1.409 MB / 319.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.1884, allocations: 1.816 MB / 321.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1886, allocations: 223.7 kB / 321.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.1889, allocations: 300.1 kB / 321.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.195, allocations: 5.113 MB / 327.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-05/0.1951, allocations: 42.58 kB / 327.1 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.1954, allocations: 147.9 kB / 327.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00127/0.1966, allocations: 1.516 MB / 328.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.2006, allocations: 2.168 MB / 330.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.2284, allocations: 40.9 MB / 371.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.2309, allocations: 0.998 MB / 372.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.2313, allocations: 294.4 kB / 373.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003733/0.235, allocations: 2.796 MB / 375.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.235, allocations: 53.66 kB / 376 MB, free: 8.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 3.917e-06/0.235, allocations: 0 / 376 MB, free: 8.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.005877/0.2409, allocations: 2.598 MB / 378.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.241, allocations: 136.5 kB / 378.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.2441, allocations: 3.542 MB / 382.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.2442, allocations: 37.7 kB / 382.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.2458, allocations: 3.434 MB / 385.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.2462, allocations: 460.9 kB / 386.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.2472, allocations: 1.259 MB / 387.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2473, allocations: 480.8 kB / 387.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008043/0.2481, allocations: 462.8 kB / 388.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/0.2514, allocations: 6.182 MB / 394.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.2563, allocations: 7.29 MB / 401.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.083e-05/0.2564, allocations: 40 kB / 401.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.006088/0.2625, allocations: 4.553 MB / 406.4 MB, free: 4.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.2626, allocations: 64 kB / 406.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.2627, allocations: 136 kB / 406.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.2631, allocations: 220.2 kB / 406.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.2652, allocations: 1.279 MB / 408.1 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.2665, allocations: 2.041 MB / 410.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.269, allocations: 263.8 kB / 410.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.2693, allocations: 316 kB / 410.7 MB, free: 264 kB / 362.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.001159/0.2705, allocations: 0.6496 MB / 411.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.2709, allocations: 325.9 kB / 411.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.2716, allocations: 0.5365 MB / 412.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.2716, allocations: 12 kB / 412.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2716, allocations: 4 kB / 412.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2716, allocations: 3.984 kB / 412.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.2761, allocations: 3.365 MB / 415.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.2761, allocations: 0 / 415.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2764, allocations: 127.8 kB / 415.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.2766, allocations: 55.78 kB / 415.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.2766, allocations: 19.98 kB / 415.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009136/0.2776, allocations: 1.788 MB / 417.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2776, allocations: 4 kB / 417.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.2794, allocations: 1.47 MB / 419.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/0.28, allocations: 273.8 kB / 419.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.2802, allocations: 19.98 kB / 419.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.2807, allocations: 16 kB / 419.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2808, allocations: 59.78 kB / 419.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.2808, allocations: 27.98 kB / 419.4 MB, free: 7.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001653/0.2825, allocations: 1.398 MB / 420.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2825, allocations: 0 / 420.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002972/0.2854, allocations: 0.8436 MB / 421.7 MB, free: 5 MB / 378.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.0003049/0.2858, allocations: 155.6 kB / 421.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.2888, allocations: 2.364 MB / 424.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2888, allocations: 4 kB / 424.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.2892, allocations: 415.1 kB / 424.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.2907, allocations: 388.9 kB / 425 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/0.3002, allocations: 6.498 MB / 431.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.3013, allocations: 1.116 MB / 432.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001288/0.3026, allocations: 448.9 kB / 433 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/0.3033, allocations: 0.5137 MB / 433.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3033, allocations: 0 / 433.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of Templates: time 0.152/0.4553, allocations: 22.44 MB / 456 MB, free: 124.1 MB / 394.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 -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.575003720354289]