Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.000852/0.000852, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002064, 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.001465/0.001465, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.003092, 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.9732/0.9732, allocations: 173.3 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.062, allocations: 52.5 MB / 238.3 MB, free: 4.426 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.484e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01053/0.01055, allocations: 10.66 MB / 250.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.01771, allocations: 3.896 MB / 254.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.01917, allocations: 79.62 kB / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.02229, allocations: 2.741 MB / 256.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003722/0.02602, allocations: 1.897 MB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.02707, allocations: 0.5809 MB / 259.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004045/0.03112, allocations: 3.842 MB / 263.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.03468, allocations: 2.898 MB / 266.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.03818, allocations: 2.404 MB / 268.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.04143, allocations: 2.015 MB / 270.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.0426, allocations: 320 kB / 270.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.04461, allocations: 1.018 MB / 271.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.046, allocations: 1.765 MB / 273.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1299/0.1759, allocations: 1.006 MB / 274.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.1807, allocations: 4.047 MB / 278.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.1807, allocations: 0 / 278.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1807, allocations: 1.031 kB / 278.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.28e-05/0.1808, allocations: 3.5 kB / 278.7 MB, free: 7.953 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.005968/0.1868, allocations: 5.379 MB / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1868, allocations: 10.31 kB / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/0.1892, allocations: 1.05 MB / 285.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.1911, allocations: 1.698 MB / 286.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.1912, allocations: 226.9 kB / 287.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.1916, allocations: 298.1 kB / 287.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.196, allocations: 4.651 MB / 292 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.45e-05/0.1961, allocations: 38.33 kB / 292 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.1963, allocations: 143.8 kB / 292.2 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/0.1976, allocations: 1.576 MB / 293.8 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.2005, allocations: 2.263 MB / 296 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.2194, allocations: 29.53 MB / 325.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.2215, allocations: 1.028 MB / 326.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.2218, allocations: 235.4 kB / 326.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/0.2274, allocations: 2.639 MB / 329.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.2274, allocations: 45.7 kB / 329.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=93): time 3.707e-06/0.2274, allocations: 0 / 329.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.006564/0.234, allocations: 2.299 MB / 331.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.2341, allocations: 139 kB / 331.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.2372, allocations: 3.188 MB / 335.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/0.2372, allocations: 37.7 kB / 335.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.2385, allocations: 3.084 MB / 338.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.239, allocations: 440 kB / 338.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008695/0.2398, allocations: 1.086 MB / 339.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.2399, allocations: 301.1 kB / 340 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/0.2408, allocations: 0.6394 MB / 340.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.2434, allocations: 4.367 MB / 345 MB, free: 6.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.2475, allocations: 5.543 MB / 350.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-05/0.2475, allocations: 40 kB / 350.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.00455/0.2521, allocations: 3.885 MB / 354.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.2521, allocations: 64 kB / 354.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.926e-05/0.2522, allocations: 141.8 kB / 354.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.2525, allocations: 218.2 kB / 354.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.2547, allocations: 1.419 MB / 356.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009243/0.2556, allocations: 1.528 MB / 357.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.258, allocations: 263.7 kB / 358.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.2583, allocations: 318.9 kB / 358.4 MB, free: 7.379 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (706): * Single equations (assignments): 702 * 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.001571/0.2599, allocations: 0.595 MB / 359 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.2602, allocations: 175.8 kB / 359.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.2609, allocations: 499.4 kB / 359.7 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.2609, allocations: 12 kB / 359.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2609, allocations: 0 / 359.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2609, allocations: 7.984 kB / 359.7 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.2656, allocations: 2.826 MB / 362.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.2657, allocations: 8.031 kB / 362.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.2661, allocations: 150.6 kB / 362.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.2667, allocations: 273.8 kB / 363 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.2669, allocations: 45.92 kB / 363 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.2669, allocations: 23.98 kB / 363 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.268, allocations: 1.437 MB / 364.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.268, allocations: 8.078 kB / 364.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.269, allocations: 1.209 MB / 365.7 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.2693, allocations: 23.94 kB / 365.7 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.2697, allocations: 16 kB / 365.7 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.2698, allocations: 47.91 kB / 365.8 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.2699, allocations: 27.98 kB / 365.8 MB, free: 368 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.2709, allocations: 1.137 MB / 366.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2709, allocations: 3.172 kB / 366.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00317/0.2741, allocations: 0.8671 MB / 367.8 MB, free: 14.51 MB / 346.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.000292/0.2744, allocations: 155.9 kB / 368 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.2767, allocations: 2.175 MB / 370.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000173/0.2768, allocations: 101.7 kB / 370.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2772, allocations: 328.4 kB / 370.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.279, allocations: 0.7545 MB / 371.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.2905, allocations: 6.645 MB / 378 MB, free: 4.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.2916, allocations: 1.134 MB / 379.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001344/0.2929, allocations: 460.5 kB / 379.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.2936, allocations: 485.2 kB / 380 MB, free: 2.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.825e-06/0.2936, allocations: 4 kB / 380 MB, free: 2.25 MB / 346.7 MB Notification: Performance of Templates: time 0.04043/0.334, allocations: 23.18 MB / 403.2 MB, free: 11.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5273891650140285]