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.0008988/0.0008988, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0009786/0.0009786, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9143/0.9143, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.254e-05, allocations: 10.16 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008396/0.008419, allocations: 9.683 MB / 334.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.01503, allocations: 3.653 MB / 337.9 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.0163, allocations: 87.56 kB / 338 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.01939, allocations: 2.745 MB / 340.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.02309, allocations: 1.855 MB / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.02417, allocations: 0.6275 MB / 343.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.02786, allocations: 3.967 MB / 347.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003084/0.03095, allocations: 2.993 MB / 350.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.03359, allocations: 2.202 MB / 352.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.03631, allocations: 2.108 MB / 354.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006163/0.03692, allocations: 320 kB / 354.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.03842, allocations: 0.9868 MB / 355.8 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.04018, allocations: 1.917 MB / 357.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.04171, allocations: 1.203 MB / 358.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006772/0.04848, allocations: 6.709 MB / 365.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.04849, allocations: 7.984 kB / 365.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.04849, allocations: 0 / 365.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002081/0.0487, allocations: 0 / 365.6 MB, free: 6.707 MB / 330.7 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.01184/0.06054, allocations: 5.257 MB / 370.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.06059, allocations: 8.031 kB / 370.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009356/0.06152, allocations: 0.6781 MB / 371.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.06541, allocations: 1.936 MB / 373.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.06905, allocations: 2.263 MB / 375.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.06917, allocations: 221.6 kB / 376 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/0.06974, allocations: 303.8 kB / 376.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.08367, allocations: 10.09 MB / 386.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.08377, allocations: 47.62 kB / 386.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.08425, allocations: 143.9 kB / 386.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002028/0.08627, allocations: 1.805 MB / 388.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.09974, allocations: 9.029 MB / 397.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.1355, allocations: 36.44 MB / 433.8 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.1429, allocations: 3.241 MB / 437.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.1445, allocations: 1.573 MB / 438.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.1448, allocations: 120.4 kB / 438.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1449, allocations: 51.14 kB / 438.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.439e-06/0.1449, allocations: 4 kB / 438.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.1871/0.332, allocations: 13.35 MB / 452.2 MB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3321, allocations: 148.2 kB / 452.3 MB, free: 113.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00514/0.3372, allocations: 4.456 MB / 456.8 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.3375, allocations: 46.73 kB / 456.8 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3385, allocations: 3.095 MB / 459.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.339, allocations: 0.5621 MB / 460.5 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009747/0.34, allocations: 1.162 MB / 461.6 MB, free: 109.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.34, allocations: 301.1 kB / 461.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.3419, allocations: 1.945 MB / 463.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.3451, allocations: 5.638 MB / 469.5 MB, free: 103 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.3502, allocations: 8.248 MB / 477.8 MB, free: 93.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/0.3503, allocations: 36 kB / 477.8 MB, free: 93.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.008736/0.359, allocations: 8.061 MB / 485.9 MB, free: 86.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.3591, allocations: 64 kB / 485.9 MB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-05/0.3592, allocations: 132 kB / 486 MB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.3606, allocations: 0.9086 MB / 487 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.3632, allocations: 1.314 MB / 488.3 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.3669, allocations: 5.045 MB / 493.3 MB, free: 78.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.37, allocations: 335.7 kB / 493.6 MB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/0.3704, allocations: 373.8 kB / 494 MB, free: 77.75 MB / 410.7 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.00217/0.3726, allocations: 1.994 MB / 496 MB, free: 75.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.3731, allocations: 356.9 kB / 496.3 MB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.3757, allocations: 2.754 MB / 499.1 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3758, allocations: 24.45 kB / 499.1 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.3758, allocations: 4 kB / 499.1 MB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3758, allocations: 3.984 kB / 499.1 MB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.3839, allocations: 6.838 MB / 0.4941 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.3839, allocations: 3.938 kB / 0.4941 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.3844, allocations: 231.7 kB / 0.4943 GB, free: 65.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.3855, allocations: 0.7213 MB / 0.495 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.3856, allocations: 35.8 kB / 0.4951 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.3888, allocations: 4.634 MB / 0.4996 GB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3888, allocations: 4.031 kB / 0.4996 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.3936, allocations: 5.084 MB / 0.5046 GB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.3943, allocations: 369.4 kB / 0.5049 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.3945, allocations: 20.88 kB / 0.5049 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.3952, allocations: 104.4 kB / 0.505 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.3954, allocations: 96.41 kB / 0.5051 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.3955, allocations: 55.97 kB / 0.5052 GB, free: 54.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002501/0.398, allocations: 2.678 MB / 0.5078 GB, free: 51.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.398, allocations: 0 / 0.5078 GB, free: 51.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002814/0.4008, allocations: 0.9524 MB / 0.5087 GB, free: 50.59 MB / 410.7 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.004228/0.405, allocations: 5.75 MB / 0.5143 GB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004266/0.4093, allocations: 4.494 MB / 0.5187 GB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4093, allocations: 0 / 0.5187 GB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.4103, allocations: 1.277 MB / 0.52 GB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4116, allocations: 433.3 kB / 0.5204 GB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04211/0.4537, allocations: 43.97 MB / 0.5633 GB, free: 5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.456, allocations: 2.519 MB / 0.5658 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00268/0.4587, allocations: 1.851 MB / 0.5676 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.4604, allocations: 1.778 MB / 0.5693 GB, free: 14.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4604, allocations: 4 kB / 0.5693 GB, free: 14.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.226/0.6864, allocations: 66.12 MB / 0.6339 GB, free: 149.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11, allocations: 9.25 kB / 0.6339 GB, free: 149.3 MB / 474.7 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/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: 12.925971313379705]