Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.002611/0.002611, allocations: 103.5 kB / 21.73 MB, free: 2.688 MB / 18.57 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.002866/0.002866, allocations: 162.2 kB / 25.03 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 250.4 MB, free: 7.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.449e-05, allocations: 6.109 kB / 250.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01888/0.01891, allocations: 13.35 MB / 263.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.02996, allocations: 4.28 MB / 268 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.032, allocations: 95.56 kB / 268.1 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00843/0.04043, allocations: 4.03 MB / 272.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006189/0.04662, allocations: 2.247 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.04842, allocations: 0.7446 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007341/0.05576, allocations: 4.8 MB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00674/0.0625, allocations: 4.112 MB / 284 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.06785, allocations: 2.912 MB / 286.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.07317, allocations: 2.747 MB / 289.7 MB, free: 176 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.07439, allocations: 436 kB / 290.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.07704, allocations: 1.119 MB / 291.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.08015, allocations: 2.509 MB / 293.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003518/0.08367, allocations: 1.624 MB / 295.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.09632, allocations: 8.683 MB / 304 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.09632, allocations: 0 / 304 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09632, allocations: 0 / 304 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002859/0.09661, allocations: 0 / 304 MB, free: 1.77 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02512/0.1217, allocations: 7.601 MB / 311.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1218, allocations: 11.98 kB / 311.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.1338, allocations: 2.568 MB / 314.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007133/0.141, allocations: 2.536 MB / 316.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.1413, allocations: 307.9 kB / 317.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.1423, allocations: 407.7 kB / 317.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.1642, allocations: 8.198 MB / 325.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001786/0.1644, allocations: 51.62 kB / 325.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006973/0.1651, allocations: 191.8 kB / 325.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005108/0.1702, allocations: 2.366 MB / 328.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01955/0.1898, allocations: 4.963 MB / 333.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2081/0.3979, allocations: 54.96 MB / 388.2 MB, free: 55.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/0.4129, allocations: 2.959 MB / 391.2 MB, free: 55.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/0.415, allocations: 1.048 MB / 392.2 MB, free: 55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.4155, allocations: 155.4 kB / 392.4 MB, free: 54.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4156, allocations: 53.95 kB / 392.4 MB, free: 54.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=221): time 5.3e-06/0.4156, allocations: 3.656 kB / 392.4 MB, free: 54.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.05937/0.4749, allocations: 18.24 MB / 410.6 MB, free: 39.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.475, allocations: 158.5 kB / 410.8 MB, free: 38.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.4797, allocations: 4.81 MB / 415.6 MB, free: 34.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004342/0.4801, allocations: 65.7 kB / 415.7 MB, free: 34.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.4818, allocations: 4.118 MB / 419.8 MB, free: 30.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009792/0.4827, allocations: 1.089 MB / 420.9 MB, free: 29.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.4848, allocations: 1.894 MB / 422.8 MB, free: 27.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.4848, allocations: 476.8 kB / 423.2 MB, free: 26.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.487, allocations: 1.118 MB / 424.4 MB, free: 25.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/0.4909, allocations: 7.356 MB / 431.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008272/0.4992, allocations: 9.37 MB / 441.1 MB, free: 3.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/0.4993, allocations: 40 kB / 441.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01647/0.5158, allocations: 7.309 MB / 448.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.5159, allocations: 71.98 kB / 448.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/0.5161, allocations: 140 kB / 448.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/0.5188, allocations: 0.6917 MB / 449.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007219/0.526, allocations: 1.833 MB / 451.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.5328, allocations: 3.484 MB / 454.6 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/0.539, allocations: 467.5 kB / 455.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/0.5406, allocations: 483.2 kB / 455.6 MB, free: 4.961 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (875): * Single equations (assignments): 871 * 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.00397/0.5446, allocations: 0.8487 MB / 456.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/0.5463, allocations: 465.4 kB / 456.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.5564, allocations: 3.133 MB / 460 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/0.5564, allocations: 24 kB / 460 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5564, allocations: 4 kB / 460 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.5565, allocations: 22.19 kB / 460.1 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/0.5831, allocations: 9.085 MB / 469.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.5831, allocations: 4 kB / 469.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00347/0.5866, allocations: 0.6007 MB / 469.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.5891, allocations: 0.522 MB / 470.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005767/0.5897, allocations: 105.8 kB / 470.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/0.5957, allocations: 3.221 MB / 473.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-05/0.5957, allocations: 7.938 kB / 473.6 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.6078, allocations: 4.651 MB / 478.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/0.611, allocations: 0.7938 MB / 479.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009345/0.612, allocations: 55.98 kB / 479.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/0.6148, allocations: 207.7 kB / 479.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.6154, allocations: 221.5 kB / 479.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003268/0.6157, allocations: 123.9 kB / 479.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003957/0.6197, allocations: 1.949 MB / 481.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6197, allocations: 4 kB / 481.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007904/0.6276, allocations: 1.336 MB / 482.9 MB, free: 9.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0008029/0.6284, allocations: 206.8 kB / 483.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0115/0.6399, allocations: 4.591 MB / 487.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6399, allocations: 0 / 487.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004051/0.644, allocations: 1.546 MB / 489.3 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.6473, allocations: 0.4973 MB / 489.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/0.795, allocations: 9.925 MB / 499.7 MB, free: 121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/0.7996, allocations: 2.986 MB / 0.4909 GB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004603/0.8042, allocations: 1.957 MB / 0.4928 GB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.8056, allocations: 466.1 kB / 0.4933 GB, free: 120.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.8056, allocations: 0 / 0.4933 GB, free: 120.7 MB / 378.7 MB Notification: Performance of Templates: time 0.07782/0.8834, allocations: 50.81 MB / 0.5429 GB, free: 75.82 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.2572597219841555]