Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008234/0.0008234, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001856, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007322/0.0007322, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009172/0.001649, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9663/0.9663, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09184/1.058, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.584e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009413/0.009439, allocations: 12.43 MB / 256.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006145/0.01558, allocations: 4.41 MB / 261.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.01642, allocations: 95.56 kB / 261.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.01983, allocations: 3.761 MB / 265.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.02268, allocations: 2.08 MB / 267.3 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.02357, allocations: 0.7056 MB / 268 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.02674, allocations: 4.562 MB / 272.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1144/0.1411, allocations: 3.784 MB / 276.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005922/0.1471, allocations: 3.014 MB / 279.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.1512, allocations: 2.365 MB / 281.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.1525, allocations: 403.8 kB / 282.1 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.1547, allocations: 1.094 MB / 283.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004931/0.1596, allocations: 2.083 MB / 285.3 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.1616, allocations: 1.238 MB / 286.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.1724, allocations: 4.726 MB / 291.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.1724, allocations: 0 / 291.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1724, allocations: 1.656 kB / 291.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.1726, allocations: 0 / 291.3 MB, free: 1.082 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01768/0.1902, allocations: 6.562 MB / 297.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1903, allocations: 6.844 kB / 297.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/0.1966, allocations: 1.177 MB / 299 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.1996, allocations: 2.032 MB / 301 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.1997, allocations: 293 kB / 301.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.2002, allocations: 385.4 kB / 301.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.2174, allocations: 5.599 MB / 307.3 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.2176, allocations: 46.67 kB / 307.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.2179, allocations: 187.1 kB / 307.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/0.2204, allocations: 1.796 MB / 309.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005771/0.2262, allocations: 2.771 MB / 312.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.254, allocations: 34.28 MB / 346.4 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.2576, allocations: 1.57 MB / 347.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.258, allocations: 389.1 kB / 348.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.2631, allocations: 3.954 MB / 352.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2631, allocations: 49.84 kB / 352.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.068e-06/0.2632, allocations: 0 / 352.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01178/0.2749, allocations: 5.417 MB / 357.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.275, allocations: 152.8 kB / 357.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.2777, allocations: 3.48 MB / 361.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.2778, allocations: 45.7 kB / 361.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.2791, allocations: 3.506 MB / 364.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.2795, allocations: 0.6558 MB / 365.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009324/0.2805, allocations: 1.235 MB / 366.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.2805, allocations: 301.1 kB / 367.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.2822, allocations: 0.7833 MB / 367.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.2854, allocations: 4.828 MB / 372.7 MB, free: 5.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.2897, allocations: 6.2 MB / 378.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-05/0.2898, allocations: 40 kB / 379 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.005291/0.2951, allocations: 4.446 MB / 383.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.2952, allocations: 68 kB / 383.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.2953, allocations: 148 kB / 383.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.2957, allocations: 259.6 kB / 383.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/0.2984, allocations: 1.665 MB / 385.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2996, allocations: 1.611 MB / 387.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.3019, allocations: 291.9 kB / 387.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.3022, allocations: 352 kB / 387.8 MB, free: 5.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (821): * Single equations (assignments): 817 * 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.001341/0.3036, allocations: 0.6651 MB / 388.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.304, allocations: 223.8 kB / 388.7 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.3051, allocations: 0.8665 MB / 389.5 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.3051, allocations: 16 kB / 389.5 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3051, allocations: 4 kB / 389.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3051, allocations: 7.969 kB / 389.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/0.3105, allocations: 4.227 MB / 393.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3105, allocations: 4 kB / 393.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.3112, allocations: 295.6 kB / 394.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.3118, allocations: 433.3 kB / 394.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.312, allocations: 79.75 kB / 394.6 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.3121, allocations: 35.92 kB / 394.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3132, allocations: 1.527 MB / 396.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3132, allocations: 11.94 kB / 396.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3148, allocations: 1.805 MB / 398 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.3151, allocations: 31.98 kB / 398 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.3156, allocations: 44.02 kB / 398 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.3157, allocations: 100.7 kB / 398.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.3158, allocations: 43.98 kB / 398.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.3168, allocations: 1.259 MB / 399.4 MB, free: 9.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3168, allocations: 0 / 399.4 MB, free: 9.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003037/0.3199, allocations: 1.031 MB / 400.5 MB, free: 8.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (141): * Single equations (assignments): 137 * 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.0003171/0.3202, allocations: 175.9 kB / 400.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.3229, allocations: 2.615 MB / 403.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001773/0.3231, allocations: 114.8 kB / 403.4 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3237, allocations: 0.5329 MB / 403.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.3255, allocations: 0.8988 MB / 404.8 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.3397, allocations: 8.353 MB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.3411, allocations: 1.364 MB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001517/0.3427, allocations: 0.52 MB / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/0.3435, allocations: 0.5675 MB / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.093e-06/0.3435, allocations: 4 kB / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of Templates: time 0.1581/0.5016, allocations: 30.7 MB / 446.3 MB, free: 108.2 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.7564544919878244]