Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001406/0.001406, 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 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.001631/0.001631, allocations: 216.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 47.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3099, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01322/0.3232, allocations: 9.68 MB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.3316, allocations: 3.633 MB / 444.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.3336, allocations: 75.62 kB / 444.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005816/0.3394, allocations: 2.617 MB / 447.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005922/0.3453, allocations: 1.805 MB / 448.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.3473, allocations: 0.581 MB / 449.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006975/0.3543, allocations: 3.582 MB / 453 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005173/0.3594, allocations: 2.717 MB / 455.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.3628, allocations: 1.468 MB / 457.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.3666, allocations: 2.021 MB / 459.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.3678, allocations: 319.9 kB / 459.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.3706, allocations: 0.9362 MB / 460.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002688/0.3733, allocations: 1.842 MB / 462.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.3765, allocations: 1.534 MB / 463.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.3861, allocations: 6.727 MB / 470.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3861, allocations: 4 kB / 470.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3861, allocations: 0 / 470.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002679/0.3864, allocations: 0 / 470.6 MB, free: 14.89 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.01904/0.4055, allocations: 5.089 MB / 475.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4055, allocations: 16.03 kB / 475.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001721/0.4072, allocations: 0.6742 MB / 476.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007272/0.4145, allocations: 1.897 MB / 478.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/0.4207, allocations: 2.415 MB / 480.7 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.4209, allocations: 221.7 kB / 480.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.422, allocations: 299.8 kB / 481.2 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.4427, allocations: 10.02 MB / 491.2 MB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.4429, allocations: 43.64 kB / 491.3 MB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.4441, allocations: 143.9 kB / 491.4 MB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003631/0.4478, allocations: 1.805 MB / 493.2 MB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.4678, allocations: 8.957 MB / 0.4904 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05433/0.5221, allocations: 36.23 MB / 0.5258 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.5345, allocations: 3.024 MB / 0.5287 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/0.5369, allocations: 1.59 MB / 0.5303 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.5374, allocations: 112.5 kB / 0.5304 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.5375, allocations: 51.16 kB / 0.5305 GB, free: 4.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.468e-06/0.5375, allocations: 0 / 0.5305 GB, free: 4.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2893/0.8268, allocations: 12.78 MB / 0.5429 GB, free: 98.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8268, allocations: 142.9 kB / 0.5431 GB, free: 98.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004729/0.8315, allocations: 4.288 MB / 0.5473 GB, free: 97.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.8318, allocations: 41.64 kB / 0.5473 GB, free: 97.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.8332, allocations: 3.137 MB / 0.5504 GB, free: 94.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004951/0.8337, allocations: 0.5638 MB / 0.5509 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.8349, allocations: 1.179 MB / 0.5521 GB, free: 93.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.8349, allocations: 301.1 kB / 0.5524 GB, free: 93.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.8372, allocations: 1.952 MB / 0.5543 GB, free: 92.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.8405, allocations: 5.644 MB / 0.5598 GB, free: 85.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.8472, allocations: 8.234 MB / 0.5678 GB, free: 76.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.8473, allocations: 40 kB / 0.5679 GB, free: 76.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01206/0.8594, allocations: 8.057 MB / 0.5757 GB, free: 68.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.8595, allocations: 69.34 kB / 0.5758 GB, free: 68.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.8596, allocations: 128 kB / 0.5759 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.8617, allocations: 0.9104 MB / 0.5768 GB, free: 67.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/0.8652, allocations: 1.302 MB / 0.5781 GB, free: 65.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/0.8707, allocations: 5.056 MB / 0.583 GB, free: 60.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/0.8753, allocations: 308.6 kB / 0.5833 GB, free: 60.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.8759, allocations: 364 kB / 0.5836 GB, free: 60.01 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.002614/0.8785, allocations: 1.986 MB / 0.5856 GB, free: 58.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006975/0.8792, allocations: 361.5 kB / 0.5859 GB, free: 57.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.8836, allocations: 2.743 MB / 0.5886 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.8836, allocations: 16.5 kB / 0.5886 GB, free: 54.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.8836, allocations: 7.938 kB / 0.5886 GB, free: 54.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.8836, allocations: 3.984 kB / 0.5886 GB, free: 54.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.8941, allocations: 6.769 MB / 0.5952 GB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.8941, allocations: 4 kB / 0.5953 GB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.8951, allocations: 207.7 kB / 0.5955 GB, free: 47.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.897, allocations: 0.7198 MB / 0.5962 GB, free: 47.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.8971, allocations: 35.97 kB / 0.5962 GB, free: 47.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.9019, allocations: 4.611 MB / 0.6007 GB, free: 42.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9019, allocations: 0 / 0.6007 GB, free: 42.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/0.9084, allocations: 5.096 MB / 0.6057 GB, free: 37.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.9095, allocations: 329.5 kB / 0.606 GB, free: 36.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.91, allocations: 27.52 kB / 0.606 GB, free: 36.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.9112, allocations: 67.91 kB / 0.6061 GB, free: 36.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.9114, allocations: 100.3 kB / 0.6062 GB, free: 36.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/0.9115, allocations: 39.98 kB / 0.6062 GB, free: 36.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003118/0.9146, allocations: 2.541 MB / 0.6087 GB, free: 34.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9146, allocations: 4 kB / 0.6087 GB, free: 34.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004672/0.9193, allocations: 0.8749 MB / 0.6095 GB, free: 33.27 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.006629/0.9259, allocations: 5.727 MB / 0.6151 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006225/0.9322, allocations: 4.529 MB / 0.6196 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9322, allocations: 256 / 0.6196 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.9337, allocations: 1.267 MB / 0.6208 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.9365, allocations: 426.5 kB / 0.6212 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06769/1.004, allocations: 43.59 MB / 0.6638 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003882/1.008, allocations: 2.523 MB / 0.6662 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004603/1.013, allocations: 1.838 MB / 0.668 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/1.015, allocations: 1.749 MB / 0.6697 GB, free: 13.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/1.015, allocations: 0 / 0.6697 GB, free: 13.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/1.379, allocations: 64.74 MB / 0.733 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.57, allocations: 12.55 kB / 0.733 GB, free: 182.1 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.37908902671188]