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.001813/0.001813, allocations: 123 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002127/0.002127, allocations: 189.2 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.478/1.478, allocations: 225.6 MB / 249.1 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001764/0.001764, allocations: 55.92 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09838, allocations: 52.13 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0142/0.1126, allocations: 11.17 MB / 428.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008623/0.1212, allocations: 3.839 MB / 432.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1229, allocations: 79.62 kB / 432.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005909/0.1288, allocations: 2.729 MB / 435.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00528/0.1341, allocations: 1.847 MB / 437.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.1358, allocations: 0.5693 MB / 438 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.1416, allocations: 3.59 MB / 441.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.1464, allocations: 2.999 MB / 444.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.1493, allocations: 1.484 MB / 446.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.198/0.3474, allocations: 2.166 MB / 448.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3484, allocations: 318.9 kB / 448.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.351, allocations: 1.096 MB / 449.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.3535, allocations: 1.884 MB / 451.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003846/0.3574, allocations: 2.128 MB / 453.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3679, allocations: 6.848 MB / 460.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3679, allocations: 0 / 460.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3679, allocations: 1.062 kB / 460.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002334/0.3681, allocations: 0 / 460.5 MB, free: 8.773 MB / 366.1 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.02257/0.3907, allocations: 5.236 MB / 465.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3907, allocations: 9.281 kB / 465.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00227/0.393, allocations: 0.6882 MB / 466.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007886/0.4009, allocations: 1.892 MB / 468.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.407, allocations: 2.596 MB / 470.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.4073, allocations: 231.7 kB / 471.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.4091, allocations: 298.9 kB / 471.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/0.4314, allocations: 10.21 MB / 481.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.4316, allocations: 44.45 kB / 481.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.4326, allocations: 144.5 kB / 481.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003635/0.4362, allocations: 1.867 MB / 483.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.4568, allocations: 9.127 MB / 492.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06042/0.5172, allocations: 38.22 MB / 0.5186 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.532, allocations: 3.491 MB / 0.522 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.5348, allocations: 1.578 MB / 0.5236 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.5355, allocations: 353.9 kB / 0.5239 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.5356, allocations: 47.11 kB / 0.5239 GB, free: 11.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.519e-06/0.5356, allocations: 112 / 0.5239 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.05213/0.5877, allocations: 12.94 MB / 0.5366 GB, free: 14.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5878, allocations: 144.2 kB / 0.5367 GB, free: 14.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008574/0.5964, allocations: 4.078 MB / 0.5407 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004168/0.5968, allocations: 45.7 kB / 0.5408 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003294/0.6001, allocations: 3.178 MB / 0.5439 GB, free: 6.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.6011, allocations: 0.5711 MB / 0.5444 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/0.6036, allocations: 1.174 MB / 0.5456 GB, free: 5.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6037, allocations: 305.1 kB / 0.5459 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.6077, allocations: 1.955 MB / 0.5478 GB, free: 2.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00777/0.6155, allocations: 5.665 MB / 0.5533 GB, free: 11.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.627, allocations: 8.269 MB / 0.5614 GB, free: 1.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.6271, allocations: 40.88 kB / 0.5614 GB, free: 1.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01841/0.6455, allocations: 8.095 MB / 0.5693 GB, free: 9.805 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.6457, allocations: 64.17 kB / 0.5694 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/0.6458, allocations: 136 kB / 0.5695 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.6489, allocations: 0.9033 MB / 0.5704 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004889/0.6538, allocations: 1.322 MB / 0.5717 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00819/0.6619, allocations: 5.205 MB / 0.5768 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004644/0.6666, allocations: 307.7 kB / 0.5771 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.6676, allocations: 371.6 kB / 0.5774 GB, free: 1.387 MB / 478.1 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.004674/0.6723, allocations: 2.005 MB / 0.5794 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008217/0.6731, allocations: 361.5 kB / 0.5797 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/0.6796, allocations: 2.751 MB / 0.5824 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.6797, allocations: 16 kB / 0.5824 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.6797, allocations: 4.625 kB / 0.5824 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/0.6797, allocations: 3.984 kB / 0.5824 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.6968, allocations: 7.129 MB / 0.5894 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.6968, allocations: 0 / 0.5894 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.6981, allocations: 211.7 kB / 0.5896 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.7007, allocations: 0.7186 MB / 0.5903 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.7009, allocations: 31.98 kB / 0.5903 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007517/0.7084, allocations: 4.747 MB / 0.595 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.7084, allocations: 0 / 0.595 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.7186, allocations: 5.102 MB / 0.5999 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.7198, allocations: 408.5 kB / 0.6003 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006611/0.7205, allocations: 20 kB / 0.6003 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.722, allocations: 79.81 kB / 0.6004 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.7224, allocations: 88.47 kB / 0.6005 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.7225, allocations: 47.97 kB / 0.6005 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005602/0.7281, allocations: 2.546 MB / 0.603 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7281, allocations: 0 / 0.603 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00608/0.7342, allocations: 0.9022 MB / 0.6039 GB, free: 5.957 MB / 0.4981 GB 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.01079/0.745, allocations: 5.741 MB / 0.6095 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009053/0.754, allocations: 4.528 MB / 0.6139 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.754, allocations: 0 / 0.6139 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.7565, allocations: 1.275 MB / 0.6152 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.7599, allocations: 435.3 kB / 0.6156 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.273/1.033, allocations: 43.75 MB / 0.6583 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00406/1.037, allocations: 3.104 MB / 0.6614 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004653/1.042, allocations: 1.845 MB / 0.6632 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/1.044, allocations: 1.783 MB / 0.6649 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.193e-06/1.044, allocations: 0 / 0.6649 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.152, allocations: 65 MB / 0.7284 GB, free: 118 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.72/24.87, allocations: 12.56 kB / 0.7284 GB, free: 118 MB / 0.5294 GB " [Timeout remaining time 635] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/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: 27.597899437882006]