Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01298/0.3089, allocations: 9.668 MB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00804/0.317, allocations: 3.641 MB / 444.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.3183, allocations: 79.62 kB / 444.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005066/0.3234, allocations: 2.609 MB / 447.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.3282, allocations: 1.809 MB / 448.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3297, allocations: 0.5771 MB / 449.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.3348, allocations: 3.582 MB / 453.1 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003648/0.3385, allocations: 2.725 MB / 455.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.3414, allocations: 1.468 MB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.3452, allocations: 2.013 MB / 459.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.3464, allocations: 316 kB / 459.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.349, allocations: 0.9479 MB / 460.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.3513, allocations: 1.839 MB / 462.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.3534, allocations: 1.545 MB / 463.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.3617, allocations: 6.716 MB / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3617, allocations: 0 / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3617, allocations: 0 / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.3619, allocations: 0 / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01778/0.3797, allocations: 5.101 MB / 475.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3797, allocations: 11.98 kB / 475.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001177/0.3809, allocations: 0.6742 MB / 476.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006816/0.3877, allocations: 1.893 MB / 478.3 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.3933, allocations: 2.419 MB / 480.8 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.3935, allocations: 229.7 kB / 481 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008341/0.3943, allocations: 291.8 kB / 481.3 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.4158, allocations: 10.02 MB / 491.3 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.416, allocations: 43.62 kB / 491.3 MB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.4173, allocations: 147.9 kB / 491.5 MB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003637/0.4209, allocations: 1.801 MB / 493.3 MB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.4439, allocations: 8.951 MB / 0.4905 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07112/0.515, allocations: 36.23 MB / 0.5258 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/0.5335, allocations: 3.032 MB / 0.5288 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/0.537, allocations: 1.582 MB / 0.5303 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.5376, allocations: 124.6 kB / 0.5305 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.5377, allocations: 51.09 kB / 0.5305 GB, free: 4.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.981e-06/0.5377, allocations: 0 / 0.5305 GB, free: 4.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.287/0.8246, allocations: 12.78 MB / 0.543 GB, free: 98.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.8247, allocations: 143.3 kB / 0.5431 GB, free: 98.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.8302, allocations: 4.287 MB / 0.5473 GB, free: 96.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.8305, allocations: 43.23 kB / 0.5474 GB, free: 96.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.8323, allocations: 3.127 MB / 0.5504 GB, free: 94.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.8328, allocations: 0.5681 MB / 0.551 GB, free: 94.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.834, allocations: 1.172 MB / 0.5521 GB, free: 93.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.834, allocations: 303.1 kB / 0.5524 GB, free: 93.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.8362, allocations: 1.954 MB / 0.5543 GB, free: 92.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.8396, allocations: 5.643 MB / 0.5598 GB, free: 85.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006557/0.8462, allocations: 8.237 MB / 0.5679 GB, free: 76.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.8463, allocations: 40 kB / 0.5679 GB, free: 76.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01257/0.8589, allocations: 8.063 MB / 0.5758 GB, free: 67.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.859, allocations: 63.94 kB / 0.5758 GB, free: 67.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.8592, allocations: 133.5 kB / 0.576 GB, free: 67.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.8614, allocations: 0.9025 MB / 0.5768 GB, free: 66.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.8654, allocations: 1.306 MB / 0.5781 GB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.871, allocations: 5.043 MB / 0.583 GB, free: 60.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/0.8759, allocations: 315.8 kB / 0.5833 GB, free: 60.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.877, allocations: 368 kB / 0.5837 GB, free: 59.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (695): * Single equations (assignments): 691 * 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.003519/0.8805, allocations: 1.982 MB / 0.5856 GB, free: 57.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009789/0.8815, allocations: 357.5 kB / 0.586 GB, free: 57.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/0.8866, allocations: 2.76 MB / 0.5887 GB, free: 54.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.8867, allocations: 16 kB / 0.5887 GB, free: 54.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8867, allocations: 4 kB / 0.5887 GB, free: 54.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.8867, allocations: 3.984 kB / 0.5887 GB, free: 54.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.8995, allocations: 6.755 MB / 0.5953 GB, free: 47.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.8996, allocations: 0 / 0.5953 GB, free: 47.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.9006, allocations: 219.7 kB / 0.5955 GB, free: 47.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/0.9026, allocations: 0.7109 MB / 0.5962 GB, free: 46.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.9027, allocations: 35.25 kB / 0.5962 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.9078, allocations: 4.617 MB / 0.6007 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9078, allocations: 8.094 kB / 0.6007 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/0.9149, allocations: 5.097 MB / 0.6057 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.9162, allocations: 329.5 kB / 0.606 GB, free: 36.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009744/0.9172, allocations: 20 kB / 0.6061 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.9189, allocations: 71.91 kB / 0.6061 GB, free: 36.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.9191, allocations: 92.55 kB / 0.6062 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9192, allocations: 47.97 kB / 0.6063 GB, free: 36.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004114/0.9233, allocations: 2.541 MB / 0.6087 GB, free: 33.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9233, allocations: 0 / 0.6087 GB, free: 33.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005163/0.9285, allocations: 0.8822 MB / 0.6096 GB, free: 32.98 MB / 446.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 (101): * Single equations (assignments): 97 * 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.007623/0.9361, allocations: 5.732 MB / 0.6152 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006387/0.9425, allocations: 4.516 MB / 0.6196 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9425, allocations: 4.75 kB / 0.6196 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.9441, allocations: 1.267 MB / 0.6209 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.9477, allocations: 433.2 kB / 0.6213 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08006/1.028, allocations: 43.59 MB / 0.6638 GB, free: 3.762 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005395/1.033, allocations: 2.512 MB / 0.6663 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005165/1.038, allocations: 1.849 MB / 0.6681 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/1.042, allocations: 1.749 MB / 0.6698 GB, free: 13.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.042, allocations: 0 / 0.6698 GB, free: 13.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3916/1.434, allocations: 64.74 MB / 0.733 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/17.41, allocations: 2.953 kB / 0.733 GB, free: 181.8 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 20.177467708010226]