Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001898/0.001898, allocations: 83.16 kB / 21.99 MB, free: 4.754 MB / 14.72 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.002184/0.002184, allocations: 153.8 kB / 25.25 MB, free: 2.742 MB / 14.72 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.295/1.295, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2145, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01279/0.2273, allocations: 10.31 MB / 358.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.2357, allocations: 3.731 MB / 362.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2372, allocations: 79.56 kB / 362.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.2425, allocations: 2.655 MB / 365.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.2472, allocations: 1.934 MB / 367.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2485, allocations: 0.581 MB / 367.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.2534, allocations: 3.75 MB / 371.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.2568, allocations: 2.83 MB / 374.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.2589, allocations: 1.55 MB / 375.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.2619, allocations: 2.176 MB / 378.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005851/0.2624, allocations: 340 kB / 378.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.2644, allocations: 0.9713 MB / 379.4 MB, free: 464 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.2664, allocations: 1.971 MB / 381.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.2682, allocations: 1.658 MB / 383 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007468/0.2757, allocations: 7.247 MB / 390.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2757, allocations: 8 kB / 390.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2757, allocations: 0 / 390.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.29e-05/0.2758, allocations: 0 / 390.3 MB, free: 5.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01651/0.2923, allocations: 5.504 MB / 395.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.2923, allocations: 11.98 kB / 395.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/0.2994, allocations: 1.967 MB / 397.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.3038, allocations: 2.349 MB / 400.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.304, allocations: 238 kB / 400.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006043/0.3046, allocations: 319.8 kB / 400.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.3225, allocations: 10.78 MB / 411.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.3226, allocations: 47.62 kB / 411.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.323, allocations: 155.9 kB / 411.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.3266, allocations: 1.982 MB / 413.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.3448, allocations: 9.617 MB / 423.2 MB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.3902, allocations: 37.28 MB / 460.5 MB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.4062, allocations: 3.456 MB / 464 MB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.4099, allocations: 1.732 MB / 465.7 MB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.4106, allocations: 132.6 kB / 465.8 MB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.4106, allocations: 47.56 kB / 465.9 MB, free: 7.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.43e-06/0.4106, allocations: 0 / 465.9 MB, free: 7.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.2182/0.6288, allocations: 14.31 MB / 480.2 MB, free: 106.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.6289, allocations: 144.7 kB / 480.3 MB, free: 106.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/0.6327, allocations: 3.848 MB / 484.2 MB, free: 105.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.6328, allocations: 45.58 kB / 484.2 MB, free: 105.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.634, allocations: 3.329 MB / 487.6 MB, free: 102.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.6344, allocations: 0.6404 MB / 488.2 MB, free: 102.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.6356, allocations: 1.25 MB / 489.5 MB, free: 101.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.6356, allocations: 301.1 kB / 489.7 MB, free: 101.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.6379, allocations: 2.127 MB / 491.9 MB, free: 100.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.6414, allocations: 5.959 MB / 497.8 MB, free: 94.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.6478, allocations: 8.764 MB / 0.4947 GB, free: 84.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.6479, allocations: 39.94 kB / 0.4948 GB, free: 84.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01107/0.659, allocations: 8.541 MB / 0.5031 GB, free: 75.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.659, allocations: 64.97 kB / 0.5032 GB, free: 75.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.324e-05/0.6591, allocations: 136 kB / 0.5033 GB, free: 75.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.6612, allocations: 0.9116 MB / 0.5042 GB, free: 74.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/0.6649, allocations: 1.411 MB / 0.5056 GB, free: 73.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.6702, allocations: 5.026 MB / 0.5105 GB, free: 68.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/0.6748, allocations: 331.8 kB / 0.5108 GB, free: 68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006964/0.6755, allocations: 388 kB / 0.5112 GB, free: 67.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.002926/0.6784, allocations: 2.115 MB / 0.5132 GB, free: 65.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/0.679, allocations: 321.8 kB / 0.5135 GB, free: 65.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.6837, allocations: 3.09 MB / 0.5165 GB, free: 62.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.6838, allocations: 26.38 kB / 0.5166 GB, free: 62.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6838, allocations: 4 kB / 0.5166 GB, free: 62.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.6838, allocations: 7.922 kB / 0.5166 GB, free: 62.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.6939, allocations: 6.769 MB / 0.5232 GB, free: 55.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.6939, allocations: 7.984 kB / 0.5232 GB, free: 55.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.6951, allocations: 267.6 kB / 0.5235 GB, free: 54.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.697, allocations: 0.707 MB / 0.5241 GB, free: 54.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.6972, allocations: 51.91 kB / 0.5242 GB, free: 54.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.7019, allocations: 4.581 MB / 0.5287 GB, free: 49.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7019, allocations: 7.969 kB / 0.5287 GB, free: 49.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.7089, allocations: 5.635 MB / 0.5342 GB, free: 43.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.7104, allocations: 0.5133 MB / 0.5347 GB, free: 43.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008025/0.7112, allocations: 27.98 kB / 0.5347 GB, free: 43.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.713, allocations: 91.89 kB / 0.5348 GB, free: 43.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/0.7134, allocations: 110.2 kB / 0.5349 GB, free: 43.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.7135, allocations: 55.97 kB / 0.535 GB, free: 43.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002887/0.7164, allocations: 2.21 MB / 0.5371 GB, free: 40.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7164, allocations: 0 / 0.5371 GB, free: 40.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004641/0.721, allocations: 0.957 MB / 0.538 GB, free: 39.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 119 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/0.7213, allocations: 158.9 kB / 0.5382 GB, free: 39.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005989/0.7273, allocations: 4.915 MB / 0.543 GB, free: 34.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7273, allocations: 0 / 0.543 GB, free: 34.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.7289, allocations: 1.445 MB / 0.5444 GB, free: 33.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.731, allocations: 374.5 kB / 0.5448 GB, free: 33.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.7442, allocations: 9.14 MB / 0.5537 GB, free: 23.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003111/0.7473, allocations: 2.703 MB / 0.5563 GB, free: 21.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003497/0.7508, allocations: 1.879 MB / 0.5582 GB, free: 19.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/0.7513, allocations: 264.4 kB / 0.5584 GB, free: 18.98 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7513, allocations: 0 / 0.5584 GB, free: 18.98 MB / 430.1 MB Notification: Performance of Templates: time 0.058/0.8093, allocations: 29.42 MB / 0.5871 GB, free: 5.531 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 6.164732270990498]