Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002679, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006894/0.0006894, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.001589, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9296/0.9296, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08671/1.016, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.565e-05, allocations: 6.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01554/0.01556, allocations: 12.53 MB / 252.1 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008513/0.02407, allocations: 4.387 MB / 256.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.02614, allocations: 95.56 kB / 256.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004037/0.03018, allocations: 3.784 MB / 260.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.03634, allocations: 2.134 MB / 262.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.03788, allocations: 0.7016 MB / 263.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004926/0.0428, allocations: 4.493 MB / 267.7 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.04662, allocations: 3.813 MB / 271.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1265/0.1731, allocations: 3.035 MB / 274.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.1779, allocations: 2.387 MB / 276.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.1802, allocations: 406.6 kB / 277.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.184, allocations: 1.113 MB / 278.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003711/0.1877, allocations: 2.133 MB / 280.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004398/0.1921, allocations: 1.263 MB / 281.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007503/0.1996, allocations: 4.834 MB / 286.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.357e-05/0.1996, allocations: 0 / 286.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1996, allocations: 0.75 kB / 286.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000383/0.2, allocations: 0 / 286.7 MB, free: 4.246 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01009/0.2101, allocations: 6.601 MB / 293.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2101, allocations: 9.5 kB / 293.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.2128, allocations: 1.169 MB / 294.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.2155, allocations: 2.037 MB / 296.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.2156, allocations: 292.8 kB / 296.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/0.216, allocations: 394.7 kB / 297.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006318/0.2223, allocations: 5.655 MB / 302.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.2224, allocations: 49.41 kB / 302.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/0.2227, allocations: 185.2 kB / 303 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.2243, allocations: 1.845 MB / 304.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/0.2294, allocations: 2.804 MB / 307.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.2572, allocations: 34.59 MB / 342.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.2607, allocations: 1.584 MB / 343.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.2611, allocations: 397.3 kB / 344.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005206/0.2664, allocations: 3.956 MB / 348.2 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2664, allocations: 51.81 kB / 348.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=146): time 2.865e-06/0.2664, allocations: 0 / 348.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=156): time 0.01177/0.2782, allocations: 5.422 MB / 353.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2782, allocations: 148.9 kB / 353.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.2809, allocations: 3.483 MB / 357.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.281, allocations: 45.7 kB / 357.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.2823, allocations: 3.551 MB / 360.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.2827, allocations: 0.6577 MB / 361.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009405/0.2836, allocations: 1.234 MB / 362.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.2837, allocations: 309.1 kB / 363.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.2849, allocations: 0.7833 MB / 363.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.2876, allocations: 4.846 MB / 368.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.2918, allocations: 6.232 MB / 374.9 MB, free: 5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.657e-05/0.2918, allocations: 40 kB / 375 MB, free: 4.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.005008/0.2969, allocations: 4.46 MB / 379.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.2969, allocations: 68 kB / 379.5 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.297, allocations: 152 kB / 379.7 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.2974, allocations: 264.2 kB / 379.9 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.3, allocations: 1.665 MB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3012, allocations: 1.615 MB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.3041, allocations: 295.7 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/0.3045, allocations: 352 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (824): * Single equations (assignments): 820 * 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.001619/0.3061, allocations: 0.6729 MB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.3065, allocations: 227.7 kB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3075, allocations: 0.8535 MB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3076, allocations: 17.8 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3076, allocations: 4 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3076, allocations: 3.984 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.3129, allocations: 4.268 MB / 389.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3129, allocations: 8 kB / 389.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.3138, allocations: 307 kB / 390.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.3143, allocations: 429.3 kB / 390.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.3146, allocations: 70.55 kB / 390.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.3147, allocations: 35.94 kB / 390.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.3161, allocations: 1.519 MB / 392.2 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/0.3161, allocations: 11.94 kB / 392.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.3179, allocations: 1.807 MB / 394 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.3181, allocations: 36 kB / 394.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.3187, allocations: 28 kB / 394.1 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3189, allocations: 116.6 kB / 394.2 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.319, allocations: 39.98 kB / 394.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.3202, allocations: 1.263 MB / 395.5 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3202, allocations: 0 / 395.5 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003483/0.3237, allocations: 1.074 MB / 396.6 MB, free: 15.74 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.0003631/0.324, allocations: 177.4 kB / 396.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.3273, allocations: 2.632 MB / 399.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001854/0.3275, allocations: 118.8 kB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.328, allocations: 0.5334 MB / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.3302, allocations: 0.9022 MB / 400.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.3458, allocations: 8.463 MB / 409.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.3475, allocations: 1.386 MB / 410.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001753/0.3492, allocations: 0.5262 MB / 411.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/0.3501, allocations: 0.5636 MB / 411.9 MB, free: 264 kB / 378.7 MB Notification: Performance of SimCode: time 2.705e-06/0.3501, allocations: 0 / 411.9 MB, free: 264 kB / 378.7 MB Notification: Performance of Templates: time 0.1515/0.5017, allocations: 31.01 MB / 442.9 MB, free: 128.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8212068462744355]