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.001009/0.001009, allocations: 76.08 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001196/0.001196, allocations: 149.4 kB / 23.93 MB, free: 0.6211 MB / 18.57 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.9102/0.9102, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.688e-05, allocations: 6.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008174/0.008201, allocations: 9.793 MB / 328.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.01459, allocations: 3.64 MB / 331.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.01623, allocations: 79.62 kB / 331.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.0193, allocations: 2.768 MB / 334.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.02313, allocations: 1.92 MB / 336.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.02428, allocations: 0.6198 MB / 337.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004178/0.02846, allocations: 3.944 MB / 341.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.03157, allocations: 3.017 MB / 344.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.03476, allocations: 2.229 MB / 346.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.0373, allocations: 2.135 MB / 348.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007141/0.03801, allocations: 324 kB / 348.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.03973, allocations: 1.006 MB / 349.9 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.04142, allocations: 1.963 MB / 351.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.04324, allocations: 1.238 MB / 353.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.05051, allocations: 6.861 MB / 360 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.05051, allocations: 0 / 360 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05051, allocations: 0 / 360 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002452/0.05076, allocations: 4 kB / 360 MB, free: 12.64 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01259/0.06335, allocations: 5.32 MB / 365.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.0634, allocations: 12.92 kB / 365.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/0.06452, allocations: 0.6905 MB / 366 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.06866, allocations: 1.932 MB / 367.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/0.07245, allocations: 2.271 MB / 370.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.07258, allocations: 229.7 kB / 370.4 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007028/0.07328, allocations: 303.8 kB / 370.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.0882, allocations: 10.29 MB / 381 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.08832, allocations: 39.64 kB / 381 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/0.08886, allocations: 151.9 kB / 381.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/0.09109, allocations: 1.864 MB / 383 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.105, allocations: 9.182 MB / 392.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03663/0.1416, allocations: 36.83 MB / 429.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.1488, allocations: 3.222 MB / 432.3 MB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.1504, allocations: 1.578 MB / 433.9 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.1507, allocations: 116.5 kB / 434 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1507, allocations: 51.16 kB / 434 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.496e-06/0.1507, allocations: 0 / 434 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.02738/0.1781, allocations: 13.42 MB / 447.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1782, allocations: 145.2 kB / 447.6 MB, free: 2.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1759/0.3541, allocations: 4.477 MB / 452.1 MB, free: 118.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003097/0.3544, allocations: 45.48 kB / 452.1 MB, free: 118.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.3556, allocations: 3.145 MB / 455.2 MB, free: 117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.3561, allocations: 0.5544 MB / 455.8 MB, free: 116.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.3571, allocations: 1.174 MB / 457 MB, free: 116 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.3571, allocations: 308.8 kB / 457.3 MB, free: 115.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.3588, allocations: 1.947 MB / 459.2 MB, free: 115.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.3612, allocations: 5.662 MB / 464.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004801/0.366, allocations: 8.264 MB / 473.1 MB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.389e-05/0.3661, allocations: 40.88 kB / 473.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.00783/0.3739, allocations: 8.081 MB / 481.3 MB, free: 95.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.3739, allocations: 64.22 kB / 481.3 MB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.806e-05/0.374, allocations: 136 kB / 481.5 MB, free: 95.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3752, allocations: 0.9092 MB / 482.4 MB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.3771, allocations: 1.318 MB / 483.7 MB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.3805, allocations: 5.05 MB / 488.7 MB, free: 88.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/0.3834, allocations: 343.7 kB / 489.1 MB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.3836, allocations: 372 kB / 489.4 MB, free: 87.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * 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 (698): * Single equations (assignments): 694 * 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.002102/0.3857, allocations: 2.016 MB / 491.5 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/0.3864, allocations: 357.5 kB / 491.8 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.3892, allocations: 2.755 MB / 494.6 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.3892, allocations: 19.94 kB / 494.6 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3892, allocations: 4 kB / 494.6 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3892, allocations: 7.984 kB / 494.6 MB, free: 82.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/0.3967, allocations: 6.9 MB / 0.4897 GB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.3967, allocations: 0 / 0.4897 GB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.3973, allocations: 230.4 kB / 0.49 GB, free: 75.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.3984, allocations: 0.7158 MB / 0.4907 GB, free: 74.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.3985, allocations: 35.98 kB / 0.4907 GB, free: 74.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.4018, allocations: 4.627 MB / 0.4952 GB, free: 69.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4018, allocations: 4 kB / 0.4952 GB, free: 69.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/0.4063, allocations: 5.094 MB / 0.5002 GB, free: 64.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4074, allocations: 365.4 kB / 0.5005 GB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.4077, allocations: 26.06 kB / 0.5006 GB, free: 64.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.4084, allocations: 103.4 kB / 0.5007 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.4086, allocations: 104.3 kB / 0.5008 GB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.4087, allocations: 51.97 kB / 0.5008 GB, free: 63.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0026/0.4113, allocations: 2.679 MB / 0.5034 GB, free: 61.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4113, allocations: 4 kB / 0.5034 GB, free: 61.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003568/0.4148, allocations: 0.9803 MB / 0.5044 GB, free: 60.25 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.004604/0.4194, allocations: 5.752 MB / 0.51 GB, free: 54.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005255/0.4247, allocations: 4.525 MB / 0.5144 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.4247, allocations: 0 / 0.5144 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4259, allocations: 1.272 MB / 0.5157 GB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.4284, allocations: 443.1 kB / 0.5161 GB, free: 48.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/0.4681, allocations: 44.22 MB / 0.5593 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/0.4707, allocations: 2.563 MB / 0.5618 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002835/0.4735, allocations: 1.85 MB / 0.5636 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/0.4753, allocations: 1.805 MB / 0.5653 GB, free: 8.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4753, allocations: 3.938 kB / 0.5653 GB, free: 8.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.7086, allocations: 66.63 MB / 0.6304 GB, free: 136.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.428/10.14, allocations: 6.75 kB / 0.6304 GB, free: 136.3 MB / 458.7 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.09958903864026]